s
Graham Clinch
- Original Message -
From: Diego Herranz
To: sdcc-user
Sent: Friday, October 07, 2011 12:44 PM
Subject: [!! SPAM] [Sdcc-user] Tool for calculating maximum execution time
Hello!
I want to calculate the maximum execution time of a ISR and so estimate the
mi
Remember that you still need to ensure that the longest path is executed
and
that you measure that.
br Kusti
[BTW I thought this was bottom posting list...]
On 10/7/11 17:51, "Diego Herranz" wrote:
>It's for pic 18f2550.
>Using an auxiliary timer looks as a good idea.
>El 07/10/2011 16:37,
It's for pic 18f2550.
Using an auxiliary timer looks as a good idea.
El 07/10/2011 16:37, "Douglas Goodall" escribió:
> Which processor are you working with, regarding this question?
>
> Douglas
>
>
>
> On Oct 7, 2011, at 4:44 AM, Diego Herranz wrote:
>
> > Hello!
> >
> > I want to calculate the
Which processor are you working with, regarding this question?
Douglas
On Oct 7, 2011, at 4:44 AM, Diego Herranz wrote:
> Hello!
>
> I want to calculate the maximum execution time of a ISR and so estimate the
> minimum frequency required for the microcontroller.
>
> Does anybody know any so
If you have access to a counter/timer somewhere, you can sample it at the
beginning of the interrupt service routine and sample it again at the end, and
provided you're confident that it hasn't wrapped around, you can derive the
execution time from the difference of the two samples.
On Friday 0
Thanks for your answers.
I want it for PIC so Jeff Post's disassembler won't do it. Anyway the cycle
counting facility looks nice.
I guess that I'll need to hard check the longest path in ASM and calculate
the cycles, etc.
It would be really useful to have an automated tool.
Thank you
On Fri,
For 8051 (including its not-clock-compatible derivatives), some time ago I
added a cycle counting facility into Jeff Post's disassembler.
http://www.8052.com/users/disasm/
I don't remember if it works also for Z80 or not. It requires to carefully read
the documentation and to set up the disass
On 07/10/2011 13:44, Diego Herranz wrote:
> Hello!
>
> I want to calculate the maximum execution time of a ISR and so
> estimate the minimum frequency required for the microcontroller.
>
> Does anybody know any software tool to calculate the maximum execution
> time of a function?
>
I'm not awar
Hello!
I want to calculate the maximum execution time of a ISR and so estimate the
minimum frequency required for the microcontroller.
Does anybody know any software tool to calculate the maximum execution time
of a function?
Thanks!
--