On Mon, 24 Sep 2012, z...@uwaterloo.ca wrote:
Hi Nilay,
Okay, if forcing the write back is not yet implemented. Then I want to at
least know the number of dirty lines in cache at the end of simulation. How
would I get this stat/parameter? Can you point me to the right source file if
I need to add this myself.
Should not be too hard to add a statistic for maintaining this quantity.
Or else you can add a callback function that would compute the quantity at
the end of the simulation. For classic memory system, files exist in
src/mem/cache. For ruby, go through files in src/mem/ruby/system.
--
Nilay
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users