PMU (Performance monitor Unit)

Hi,

How can I use PMU(Performance Monitor Unit) in ARM11 to calculate execution clock cycles of an assembly code.

I am using raspberry pi Model B. I am programming it in assembly language (running assembly program as OS). And want to calculate number of clock cycles it takes to execute my code.

More questions in this forum