rtems_interval rtems_clock_get_ticks_since_boot(void);
NONE
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.
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.
Copyright © 1988-2008 OAR Corporation