I want to develop a tool that takes memory addresses as input and then counts number of read/write happened to those memory addresses on the main memory.
Is there any tool (like PAPI, Perfmon2) can help me to achieve that?
Thank you
I want to develop a tool that takes memory addresses as input and then counts number of read/write happened to those memory addresses on the main memory.
Is there any tool (like PAPI, Perfmon2) can help me to achieve that?
Thank you
You can use Pin to trace memory accesses. Check out this link to the Memory Reference Trace section of the Pin manual.