Quoting nathan binkert <[email protected]>:

Hmm. That's a good suggestion, but it looks like the regStats stuff is
called from python, and my kung fu isn't strong enough to go messing
with that stuff just for a quick hack.

Look at how global simulator stats are done.  That said.  Why don't
you do these stats on a per CPU basis?  That would make more sense to
me.  They can be aggregated after the fact.

  Nate
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev


I actually just made it a static member of the instruction and made sure it was only initialized once in the instruction constructor. I didn't want to do anything fancier because this was just a throw away measurement.

Gabe

_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to