Hi Everybody,

I need the value of current instruction count in cache module. I hope to do
this using

1. Implementing a function curInst() (similar to curTick()), which will give
the number instructions executed currently. This function should be
available in cache module also.

OR

2.I have seen the instCount() in base.hh of cpu module but it is not
available in cache. Can we do something to make "instCnt" variable available
to cache?

Any help/suggestion is welcome.

-- 
Thanks and Regards,
Tripti
_______________________________________________
gem5-users mailing list
gem5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to