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.
if you use Raspberry Pi, I think there would be the self C compiler implemented. So, you can use the fprintf function to store the PMU results. I'm not sure this can be possible because I don't have Raspberry Pi.
Best regards,
Yasuhiko Koumoto.