rtems_status_code rtems_clock_get_uptime( struct timespec *uptime );
RTEMS_SUCCESSFUL
- clock tick processed successfully
RTEMS_INVALID_ADDRESS
- time_buffer
is NULL
This directive returns the seconds and nanoseconds since the system was booted. If the BSP supports nanosecond clock accuracy, the time reported will probably be different on every call.
This directive may be called from an ISR.
Copyright © 1988-2008 OAR Corporation