RTEMS Logo

RTEMS 4.9.2 On-Line Library


Clock Manager CLOCK_GET_TICKS_SINCE_BOOT - Get ticks since boot

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

7.4.7: CLOCK_GET_TICKS_SINCE_BOOT - Get ticks since boot

CALLING SEQUENCE:

function Clock_Get_Ticks_Since_Boot
return RTEMS.Interval;

DIRECTIVE STATUS CODES:

NONE

DESCRIPTION:

This directive returns the number of clock ticks that have elapsed since the system was booted. This is the historical measure of uptime in an RTEMS system. The newer service rtems.clock_get_uptime is another and potentially more accurate way of obtaining similar information.

NOTES:

This directive is callable from an ISR.

This directive will not cause the running task to be preempted. Re-initializing RTEMS causes the system date and time to be reset to an uninitialized state. Another call to rtems.clock_set is required to re-initialize the system date and time to application specific specifications.

This directive simply returns the number of times the dirivective rtems.clock_tick has been invoked since the system was booted.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation