Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想开发一个工具,将内存地址作为输入,然后计算主内存上这些内存地址发生的读/写次数。
是否有任何工具(如 PAPI、Perfmon2)可以帮助我实现这一目标?
谢谢
您可以使用 Pin 来跟踪内存访问。查看此链接到 Pin 手册的Memory Reference Trace部分。