This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex R4 profiling

Note: This was originally posted on 17th August 2012 at http://forums.arm.com

Hi,  I want to profile a program written in C, I use RVDS 4.1 to simulate the  Cortex R4 environment. I've discoverd that it's possible to use Analysis  Window in RVDS Debugger for other cores (like ARM7). But is it possible to do it for  Cortex R4 without using ARM Profiler ?  Thank you, Ahmed
Parents Reply Children
  • Real view profiler doesnot provide cycle accurate simulation.

    Cortex R4 has inbuilt PMU(Performance Measuring Unit). You can make use of these PMU and can measure the cycles accurately. You can get sample code if you have DS-5 installer. It comes with example(Optimization3) and you can re-use the same code for measuring the cycles consumed by a sub routine in the software itself.