RTEMS provides the rtems.clock_tick
directive which is
called from the user's real-time clock ISR to inform RTEMS that
a tick has elapsed. The tick frequency value, defined in
microseconds, is a configuration parameter found in the
Configuration Table. RTEMS divides one million microseconds
(one second) by the number of microseconds per tick to determine
the number of calls to the
rtems.clock_tick
directive per second. The
frequency of rtems.clock_tick
calls determines the resolution
(granularity) for all time dependent RTEMS actions. For
example, calling rtems.clock_tick
ten times per second yields a higher
resolution than calling rtems.clock_tick
two times per second. The rtems.clock_tick
directive is responsible for maintaining both
calendar time and the dynamic set of timers.
Copyright © 1988-2003 OAR Corporation