procedure Clock_Get_Uptime ( Uptime : out RTEMS.Timespec; Result : out RTEMS.Status_Codes );
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