Hi,
You have a couple of options:
** Run it and time it in the simulator in MPLAB.
** Set a pin high when you enter the code section and low when you exit it. Look at the output with an oscilloscope.
** Use one of the PIC's timers to measure the execution time. Start it when you enter the section of code and stop it when you exit it. Someone (Darrel perhaps??) posted some code that was perfect for that but I can't seems to find it right now. I'll take another look.
/Henrik Olsson.
EDIT: OK Steve beat me to it. With nicer layout AND links to the code I was thinking about, and then some....


even much funny, you said it in same order as me



Bookmarks