Hello all,
I am computing the run time for a function in my program in Dynamic C
using two ways:
1) Calculating the run time for that function using the MS_TIMER.
2) Computing the run time using the cycle count from diassembled code for that
function and my rabbit processor clock rate.
But I never get the matching run times. For example, the reported time using
MS_TIMER was 500 msec and my calculated run time was only 56msec.
The DEBUG mode is ON and wait states are not included
How is this possible? Where am I missing so much? Can anyone please help to
solve it?