PDA

View Full Version : PBP routine timing...



mtripoli
- 20th April 2011, 18:41
This might be posted in the wrong area...

I saw reference to a "routine timer" on here at one point but can't find it now. Anyone know where I can find this? Anyone have any experience with it?

Thanks.

Bruce
- 21st April 2011, 00:00
Here's one way: http://www.picbasic.co.uk/forum/showthread.php?t=365

MPSIM with breakpoints & the stopwatch is another.

ScaleRobotics
- 21st April 2011, 02:00
Here is another way, but it is only PIC18 compatible. It's real handy though:
http://www.picbasic.co.uk/forum/content.php?r=175-Code-Timer-How-long-does-it-take-to-execute-XYZ-command

It explains it pretty well, I used it to time some cordic code, and others, and it did a nice job.

Walter