Number of Memory Accesses

Junaid Jameel Ahmad <[email protected]>
Newsgroups gmane.linux.ports.arm.general
Message-ID <[email protected]>
Hi,

I have a C/C++ program running on my ARM device with embedded linux. I
need to measure the number of times that process accesses the main
memory. How I can do that? Need to add some C/C++ to my program? If
yes any example?

Also I have an another interlinked question. Do the amount of data
read/written from/to memory is fixed for each memory access? If no
then can I also calculate the amount of data read/written from/to
memory?

Thanks,
Junaid
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.