RTEMS
5.0.0
|
Go to the source code of this file.
Macros | |
#define | rtems_clock_get_ticks_per_second(void) ( _Watchdog_Ticks_per_second ) |
Obtain Ticks Per Seconds. More... | |
Functions | |
rtems_status_code | rtems_clock_get_tod (rtems_time_of_day *time_buffer) |
Obtain Current Time of Day (Classic TOD) More... | |
rtems_status_code | rtems_clock_get_tod_timeval (struct timeval *time) |
Obtain TOD in struct timeval Format. More... | |
rtems_status_code | rtems_clock_get_seconds_since_epoch (rtems_interval *the_interval) |
Obtain Seconds Since Epoch. More... | |
RTEMS_INLINE_ROUTINE rtems_interval | rtems_clock_get_ticks_since_boot (void) |
Gets the current ticks counter value. More... | |
RTEMS_INLINE_ROUTINE rtems_interval | rtems_clock_tick_later (rtems_interval delta) |
Returns the ticks counter value delta ticks in the future. More... | |
RTEMS_INLINE_ROUTINE rtems_interval | rtems_clock_tick_later_usec (rtems_interval delta_in_usec) |
Returns the ticks counter value at least delta microseconds in the future. More... | |
RTEMS_INLINE_ROUTINE bool | rtems_clock_tick_before (rtems_interval tick) |
Returns true if the current ticks counter value indicates a time before the time specified by the tick value and false otherwise. More... | |
rtems_status_code | rtems_clock_set (const rtems_time_of_day *time_buffer) |
Set the Current TOD. More... | |
rtems_status_code | rtems_clock_tick (void) |
Announce a Clock Tick. More... | |
rtems_status_code | rtems_clock_get_uptime (struct timespec *uptime) |
Obtain the System Uptime. More... | |
void | rtems_clock_get_uptime_timeval (struct timeval *uptime) |
Gets the System Uptime in the Struct Timeval Format. More... | |
time_t | rtems_clock_get_uptime_seconds (void) |
Returns the system uptime in seconds. More... | |
uint64_t | rtems_clock_get_uptime_nanoseconds (void) |
Returns the system uptime in nanoseconds. More... | |
bool | _TOD_Validate (const rtems_time_of_day *the_tod) |
TOD Validate. More... | |
Watchdog_Interval | _TOD_To_seconds (const rtems_time_of_day *the_tod) |
TOD to Seconds. More... | |
This include file contains all the constants and structures associated with the Clock Manager. This manager provides facilities to set, obtain, and continually update the current date and time.
This manager provides directives to: