RTEMS Logo

RTEMS 4.9.5 On-Line Library


Clock Manager CLOCK_TICK - Announce a clock tick

PREV UP NEXT Bookshelf RTEMS C User's Guide

7.4.10: CLOCK_TICK - Announce a clock tick

CALLING SEQUENCE:

rtems_status_code rtems_clock_tick( void );

DIRECTIVE STATUS CODES:

RTEMS_SUCCESSFUL - clock tick processed successfully

DESCRIPTION:

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.

NOTES:

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.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2008 OAR Corporation