I think a dynamic_cast would serve your purpose.

--
Nilay

On Thu, 23 Feb 2012, Mahmood Naderan wrote:

Hi,
Is it possible to find the cpu model in the code?
For example, in the code I want to do something after switching from
simple to o3.

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

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

Reply via email to