Hi all,
I'm trying to get the number of access (read and write) for each cache line
after programs finished. Could you kindly tell me where to make some
modifications in the source code to add a cache line counter?
Although using "--debug-flags=Cache" to trace every cache address is plausible,
the final output data is too many to extract and process. In addition, I am
wondering if it is a reasonable way to modify "void incHitCount(PacketPtr pkt)"
and misscount function in the "cache_impl.hh" for implementing the counter.
Thanks in advance for any help.
Jinbo
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users