Hi E,hi,
There is a Real Time Duration display on the IDE.
Just before the block of code you want to time measure, insert a BREAK cmd.
Just after the block of code you want to time measure, insert a BREAK cmd.
Run the sim until the Break point stops it, Note the Real time value in uSecs. [ sim will be STEP mode]
Click on Rate then Ultimate and the program will run onto the next BREAK point, Note the Real Time.
Subtract the first value from the last and thats the Execution time for that block of code.
To try a rerun Stop the sim and then restart
E
EDIT:
To avoid doing the maths, use the Reset Sim Statistics, at the Break
Thanks, very useful.
C.