Re: Tracking Time...
Hi,
Facing this kind of problem, I founded two solutions :
1) Activation/desactivation of a port at the begin/end of the task or isr routine an mesuring the elapsed time with a scope.
2) Use a timer. By reading it at the begin of the task / isr and reading again at the end. Knowing the clock frequency the timer is feeded with gives the elapsed time value.
For both solution, add the time neeged to do these operation by reading the asm code and counting the instruction cycles, can improve the accuracy of the result.