I would like to count cycles for some algos.
Any idea how to calculate it ?
eg ..
start = timer_start;
algo();
end =timer_end;
cycle = start - end;
If anyone have any code snippet. It would be great help.
Hi Mohanish,
Do you have access to Arm Development Studio. This includes a PMU_AArch64 example which should show you how to do this.
You can get a 30 day evaluation version of the tool if necessary.
developer.arm.com/.../arm-development-studio
Regards
Ronan