Number of Memory Accesses

Muralitharan Perumal muralitharan.perumal at pace.com
Thu Oct 8 07:27:24 EDT 2009


Hi,

Just add a /proc entry to monitor the memory accesses. There would be 
examples available (try for squashfs proc entries) on the net.

Best Regards,
Murali

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
> linux-arm at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm
>
>
>  Click 
> https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== 
> <https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==>  
> to report this email as spam.
>


This E-mail and any attachments hereto are strictly confidential and intended solely for the addressee. If you are not the intended addressee please notify the sender by return and delete the message. You must not disclose, forward or copy this E-mail or attachments to any third party without the prior consent of the sender. Pace plc is registered in England and Wales (Company no. 1672847) and our Registered Office is at Victoria Road, Saltaire, West Yorkshire, BD18 3LF, UK. Tel +44 (0) 1274 532000 Fax +44 (0) 1274 532010. <http://www.pace.com>
Save where otherwise agreed in writing between you and Pace (i) all orders for goods and/or services placed by you are made pursuant to Pace's standard terms and conditions of sale which may have been provided to you, or in any event are available at http://www.pace.com/uktcsale.pdf (ii) all orders for goods and/or services placed by Pace are subject to Pace's standard terms and conditions of purchase which may have been provided to you, or in any event are available at http://www.pace.com/uktcpurch.pdf. All other inconsistent terms in any other documentation including without limitation any purchase order, reschedule instruction, order acknowledgement, delivery note or invoice are hereby excluded.



This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com



More information about the linux-arm mailing list