This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PMU on OMAP4460 for performance monitoring

Hi all,

I am posting a new question on the forum since I did not found anything on the forum or on Internet concerning this subject.

I am trying to use the PMU and its associated performance counters. After some documentation on the ARM website I found that the procedure to follow is the following:

- enable pmu

- disable performance monitors

- configure performance monitor

- reset performance monitor

- enable performance monitor

--> launch the code to be profiled

- disable performance monitor

- read registers results

To follow these steps, I use the assembly code provided by ARM on the DS-5 compiler release (bare examples / optimization3 / v7_pmu.s ).

The problem is that my counters always stay locked to value 0. There is no way of make them count instruction misses or any other event as listed on the OMAP4 reference manua .. they stay to 0.

Does any of you already used these counters ?

Many thanks for your help