Diego,
I ran into this problem with my drag strip timing system, the ISR had to
complete in a fixed time but had decisions to make and was taking taking
different times depending on the path so I added a hardware output. I set a
spare I/O pin high on entry and low on exit and used an oscilloscope to see the
ISR time by measuring the pulse width. By adding dummy code I managed to "tune"
it to be almost exactly the same number of instructions no matter which
decisions it made.
Of course, you can count the instructions and T-cycles, but that's boring......
Regards
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
minimum frequency required for the microcontroller.
Does anybody know any software tool to calculate the maximum execution time
of a function?
Thanks!
------------------------------------------------------------------------------
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user