The Clock Manager provides support for time of day and other time related capabilities.
More...
|
file | clock.h |
| This header file defines the Clock Manager API.
|
|
The Clock Manager provides support for time of day and other time related capabilities.
◆ rtems_clock_get_seconds_since_epoch()
◆ rtems_clock_get_tod()
◆ rtems_clock_get_tod_timeval()
◆ rtems_clock_get_uptime()
◆ rtems_clock_get_uptime_timeval()
void rtems_clock_get_uptime_timeval |
( |
struct timeval * |
uptime | ) |
|
◆ rtems_clock_set()
◆ rtems_clock_tick_before()
Returns true if the current ticks counter value indicates a time before the time specified by the tick value and false otherwise.
This directive can be used to write busy loops with a timeout.
- Parameters
-
- Return values
-
true | The current ticks counter value indicates a time before the time specified by the tick value. |
false | Otherwise. |
Definition at line 211 of file clock.h.
◆ rtems_clock_tick_later()
Returns the ticks counter value delta ticks in the future.
- Parameters
-
delta | is the ticks delta value. |
- Returns
- The tick counter value delta ticks in the future is returned.
Definition at line 227 of file clock.h.
◆ rtems_clock_tick_later_usec()
Returns the ticks counter value at least delta microseconds in the future.
- Parameters
-
delta_in_usec | is the delta value in microseconds. |
- Returns
- The tick counter value delta ticks in the future is returned.
Definition at line 244 of file clock.h.