Is there a way to do this? I would like ot know what the execution time is between two points. I think theres a stopwatch somewhere in Studio, but not sure
JIm
Is there a way to do this? I would like ot know what the execution time is between two points. I think theres a stopwatch somewhere in Studio, but not sure
JIm
Nevermind. It only works in Simulator. Not in real time debugging.
JIm
I would like ot know what the execution time is between two points
toggle a pin at the 2 points & measure on a scope ?
Start a spare timer at one point and stop it at the other? Set a breakpoint at the latter and read the timer register.
Set a breakpoint at the latter and read the timer register.
Not forgetting to set the timer to stop during "break".
Or, if you don't actually want to stop, save it to RAM somewhere for later inspection.
You could save multiple values to see if/how it varies ...