1

I need a software tool that can take an arbitrary program (specifically a C++ program) and count the memory operations (loads and stores) made by that program. I understand there are many different performance analysis tools (valgrind, callgrind...) but as far as I can tell they don't have an easy way to count these operations. Other tools use hardware counters to count instructions and such, but I would like something that is hardware-independent (perhaps something that analyzes object code). Does such a tool exist?

  • 1
    Which OS do you use? – jitter Jul 10 '19 at 23:04
  • 1
    @jitter Linux (centos) – ben Jul 11 '19 at 4:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.