(DerivO3CPU*)system()->getThreadContext(0)->getCpuPtr() 

 

 

From: gem5-users [mailto:[email protected]] On Behalf Of ???
Sent: Friday, June 12, 2015 9:26 AM
To: [email protected]
Subject: [gem5-users] To get O3CPU ptr in memory system.

 

Hello,

 

I'm using detailed cpu model to simulation and want to get cpu information 
(ipc, committed inst, and ..) in memory system. so, i get cpu pointer as follow:

system()->getThreadContext(0)->getCpuPtr() 

But this pointer is baseCPU pointer, the baseCPU pointer does not have such 
info.  I want to FullO3CPU pointer.

How to get FullO3CPU pointer?

 

Thank you,

MinKyu Lee

 

 




 

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to