ARM provides cycle accurate simulation using ARM Cycle Models.
Cycles models gather all of the PMU events in a non-intrusive way for doing performance optimization.
You may also want to have a look at: ARM Cycle Models IP Home Page
Please take a look at community articles on the topic such as: System Performance Analysis and the ARM Performance Monitor Unit (PMU)
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.
Real view profiler doesnot provide cycle accurate simulation. So it is to be tried with any evaluation boards.
Do you have RVDS Standard or Professional? If Professional, have you considered using the stand alone Profiler application?
View all questions in Arm Development Studio forum