Time measurements ...

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
ksor
Posts: 126
Joined: Mon Oct 23, 2006 3:50 pm
Contact:

Time measurements ...

Post 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) ?
Best regards
KSor, Denmark

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Time measurements ...

Post 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?
Martin

ksor
Posts: 126
Joined: Mon Oct 23, 2006 3:50 pm
Contact:

Re: Time measurements ...

Post 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 ?
Best regards
KSor, Denmark

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Time measurements ...

Post by medelec35 »

ksor wrote:
medelec35 wrote:......

I think you mean MicroCHIP instead of MicroSOFT - right ?
:lol: yes I do mean Microchip. I don't know how why I thinking Microsoft. :roll:
Anyway it's mpsim the name of simulator I had in mind for Microchips version. Thanks for letting me know.
Martin

Post Reply