Hi Guys,
I am programming my raspberry pi in Assembly language and want to know to number of execution cycles it takes to complete.
Please let me know if you have any ideas to how I can calculate number of execution cycles of an Assembly code.
Thanks.
My task is that I have to program ARM11(raspberry pi) processor in assembly language in such a way to provoke pipeline hazards and observe its behavior.
I think that if I somehow manage to know the number of clock cycles it take to execute an assembly program, I will be able to observe pipeline behavior.
The easiest and best way to do this is by using the built-in Performance Monitor in the ARM11. For details of how to use it, look in the ARM1136 TRM. You can find that at infocenter.arm.com.
Hope this helps.
Chris