rtems_status_code rtems_clock_tick( void );
RTEMS_SUCCESSFUL
- current time obtained successfully
This directive announces to RTEMS that a system clock tick has occurred. The directive is usually called from the timer interrupt ISR of the local processor. This directive maintains the system date and time, decrements timers for delayed tasks, timeouts, rate monotonic periods, and implements timeslicing.
This directive is typically called from an ISR.
The microseconds_per_tick and ticks_per_timeslice parameters in the Configuration Table contain the number of microseconds per tick and number of ticks per timeslice, respectively.
Copyright © 1988-2004 OAR Corporation