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.