I want to know that how many times the CPU go and take data from the memory during the execution of my C++ program . I will be very thankful if any one share the code to do the mentioned task for me or any other useful help.
i am using Imote2 (arm-linux) cpu