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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/30/02 08:10
Read: times


 
#24998 - timer tick handling
hi;
i am trying to write a kernel for 8051.in
that i need to implment a system timer.as you all know it can be used by tasks for
timeout and delays.
1.whenever timer tick expires interrupt is generated.at this point i need to make evaluation about states of single/multiple
tasks.this leads a bulky ISR.
2.if i perform only bare minimum part in ISR and other part in a proxy code before scheduler my ISR length reduces but still i
have to do check for all tasks depending on
time ticks requested.
is there any way of reducing
the overhead of checking all the tasks per
tick?because every tick has a finite time and
only a few tasks can ask for a timeout in that period.may be by keeping basic timer fast and offering its derived count as tick,so that may be 1 or 2 checks will be reqd.?
all inputs appreciated
regards
pranav


List of 16 messages in thread
TopicAuthorDate
timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      
RE: timer tick handling            01/01/70 00:00      

Back to Subject List