1

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

ying ding
  • 11
  • 1

1 Answers1

1

You can use Pin to trace memory accesses. Check out this link to the Memory Reference Trace section of the Pin manual.

yaman
  • 759
  • 3
  • 17