zsim icon indicating copy to clipboard operation
zsim copied to clipboard

Getting LLC access trace

Open snehilverma41 opened this issue 8 years ago • 1 comments

I wish to generate the access trace of requests to the LLC in order to implement Belady's optimum policy. I am unable to find the files, in the src, where I can code and get the relevant trace.

I tried to get the trace by making changes into the repl_policies.h (writing trace into a separate file) but the complication is due to interference, as repl_policies.h is used in various new replacement policies (which I intended to implement).

Any easier way to do so? Something like capturing the access from L2 to LLC ?

Kindly do respond.

Thanks!

snehilverma41 avatar Oct 31 '17 13:10 snehilverma41

Take a look at the TracingCache class in tracing_cache.h. You can interpose it between levels of the cache hierarchy in your configuration file.

grantae avatar Oct 31 '17 19:10 grantae