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 ?
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!