The clock manager provides support for time of day and other time related capabilities. The directives provided by the clock manager are:
rtems.clock_set
- Set date and time
rtems.clock_get
- Get date and time information
rtems.clock_get_tod
- Get date and time in TOD format
rtems.clock_get_tod_timeval
- Get date and time in timeval format
rtems.clock_get_seconds_since_epoch
- Get seconds since epoch
rtems.clock_get_ticks_per_second
- Get ticks per second
rtems.clock_get_ticks_since_boot
- Get ticks since boot
rtems.clock_get_uptime
- Get time since boot
rtems.clock_set_nanoseconds_extension
- Install the nanoseconds since last tick handler
rtems.clock_tick
- Announce a clock tick
Copyright © 1988-2008 OAR Corporation