On Wed, 6 Jun 2012, tejasi pimpalkhute wrote:

Hi Nilay,

I want to dump the statistics for memory utilization ( number of clock
cycles used for
data transfer divided by the number of total clock cycles). Could you
please let me know where can I a register for this so that I can have the
values in ruby.stats? Also, I was not sure what variable value can I use
for total cycles of data transfer and also if I can use Ruby_cycles (from
profiler.cc) value for total number of cycles. Could you please guide me on
that?


You can add a counter to the Profile class, but you will have to figure where and how this counter should get updated. Ruby_cycles denotes the total number of cycles from start, so that should be what you are lokking for.

--
Nilay
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to