Re: Number of Memory Accesses
Pawel Potera <[email protected]>
| Newsgroups | gmane.linux.ports.arm.general |
|---|---|
| Message-ID | <[email protected]> |
Junaid, Are you interested in all memory accesses when the process is running, or are you interested only in the actual main memory hits (subtract the ones that fall into cache)? Are you interested in splitting the accesses into whether they are coming from shared libraries, system calls, whether they are due to page faults, etc.? Regards, Paul Junaid Jameel Ahmad wrote: > 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 > > _______________________________________________ > linux-arm mailing list > [email protected] > http://lists.infradead.org/mailman/listinfo/linux-arm > >