Hi Andreas, Thank you so much for the patch and explanation. I will start from there, really appreciate the help!
Best Regards, Zheng On 2013-07-19, at 4:25 AM, Andreas Sandberg <andr...@sandberg.pp.se> wrote: > It's probably going to be a bit tricky to do this from the CPU class since it > doesn't know about the structure of the simulated system. It only knows about > the System class itself and the ports it's hooked up to. Depending on what > you need to do, you might want to query the cache state from Python instead. > However, it's probably a bad idea to query the state on from Python on each > CPU cycle.
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users