Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/28/02 22:08
Read: times


 
#23555 - RE: Performance Analyser in keil
3. Can i improve overall time if i call the functions that spend too long time once every 1 msec say ?
for example i only scan discrete input every 1 msec or so.


I have found that this method, while it will in most cases speed things up add an uncertainty factor.

If you call every thing every time, the program will fail - if is to fail - whereas if you do as you suggest it may fail if some unlucky combination of interrupts and millisecond time happens.

I would stay away from such a method only because of the uncertainty it introduces.

The most costly problems are those that happen once a month, they will cost you customer confidence and a lot of scratching your head.

Another aspect is - can the "fast routines" handle not being "fast" once a millisecond.

Have fun,

Erik

List of 13 messages in thread
TopicAuthorDate
Performance Analyser in keil            01/01/70 00:00      
RE: Performance Analyser in keil            01/01/70 00:00      
RE: Performance Analyser in keil            01/01/70 00:00      
RE: Performance Analyser in keil            01/01/70 00:00      
RE: Performance Analyser in keil            01/01/70 00:00      
RE: Performance improvement            01/01/70 00:00      
RE: Performance improvement            01/01/70 00:00      
RE: Performance improvement            01/01/70 00:00      
RE: Performance improvement            01/01/70 00:00      
RE: To Andy            01/01/70 00:00      
RE: Performance Analyser in keil            01/01/70 00:00      
RE: Performance Analyser in keil            01/01/70 00:00      
RE: To Andy            01/01/70 00:00      

Back to Subject List