Page 1 of 1
Time measurements ...
Posted: Sat Feb 27, 2010 8:55 am
by ksor
In MPLAB you have a stopwatch to measure the time spend in a subroutine and I use this to control my own calculations on time spending.
In FlowCode you can't calculate anything about time spending - or do I miss something ?
I think it would be nice to know the time spend in an interrupt or a special macro.
Can I do that in FlowCode (version 4) ?
Re: Time measurements ...
Posted: Sat Feb 27, 2010 9:56 am
by medelec35
I placed a suggestion about timing routines, delays etc. See:
http://www.matrixmultimedia.com/mmforum ... =31&t=6545
What I do to check timing now is load hex code in a simulator which has options to reset timings. Set a break point where I would like timing to end, then press run.
That way I see exactly how long routine has taken.
Has Microsoft simulator got that facility, as not used it in years?
Re: Time measurements ...
Posted: Sat Feb 27, 2010 10:45 am
by ksor
medelec35 wrote:......
What I do to check timing now is load hex code in a simulator which has options to reset timings. Set a break point where I would like timing to end, then press run.
That way I see exactly how long routine has taken.
Oh yeah - I'll try that in MPLAB
medelec35 wrote:Has Microsoft simulator got that facility, as not used it in years?
I think you mean MicroCHIP instead of MicroSOFT - right ?
Re: Time measurements ...
Posted: Sat Feb 27, 2010 10:58 am
by medelec35
ksor wrote:medelec35 wrote:......
I think you mean MicroCHIP instead of MicroSOFT - right ?

yes I do mean Microchip. I don't know how why I thinking Microsoft.
Anyway it's mpsim the name of simulator I had in mind for Microchips version. Thanks for letting me know.