ztimer 64bit API
- Author
- Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e
Definition in file ztimer64.h.
|
| uint64_t | ztimer64_now (ztimer64_clock_t *clock) |
| | Get the current time from a clock. More...
|
| |
| static uint64_t | ztimer64_offset2absolute (ztimer64_clock_t *clock, uint64_t offset) |
| | Get absolute target time for a clock given offset. More...
|
| |
| void | ztimer64_set_at (ztimer64_clock_t *clock, ztimer64_t *timer, uint64_t target) |
| | Set a timer on a clock (absolute version) More...
|
| |
| static void | ztimer64_set (ztimer64_clock_t *clock, ztimer64_t *timer, uint64_t offset) |
| | Set a timer on a clock (relative version) More...
|
| |
| unsigned | ztimer64_is_set (const ztimer64_t *timer) |
| | Check if a timer is currently active. More...
|
| |
| void | ztimer64_remove (ztimer64_clock_t *clock, ztimer64_t *timer) |
| | Remove a timer from a clock. More...
|
| |
| void | ztimer64_set_msg_at (ztimer64_clock_t *clock, ztimer64_t *timer, uint64_t target, msg_t *msg, kernel_pid_t target_pid) |
| | Post a message at a specified time. More...
|
| |
| static void | ztimer64_set_msg (ztimer64_clock_t *clock, ztimer64_t *timer, uint64_t offset, msg_t *msg, kernel_pid_t target_pid) |
| | Post a message after a delay (relative version) More...
|
| |
| int | ztimer64_msg_receive_until (ztimer64_clock_t *clock, msg_t *msg, uint64_t target) |
| | receive a message (blocking, with absolute timeout) More...
|
| |
| static int | ztimer64_msg_receive_timeout (ztimer64_clock_t *clock, msg_t *msg, uint64_t timeout) |
| | receive a message (blocking, with relative timeout) More...
|
| |
| void | ztimer64_periodic_wakeup (ztimer64_clock_t *clock, uint64_t *last_wakeup, uint64_t period) |
| | Suspend the calling thread until the time (last_wakeup + period) More...
|
| |
| void | ztimer64_sleep_until (ztimer64_clock_t *clock, uint64_t target) |
| | Put the calling thread to sleep until the specified time. More...
|
| |
| static void | ztimer64_sleep (ztimer64_clock_t *clock, uint64_t duration) |
| | Put the calling thread to sleep for the specified number of ticks. More...
|
| |
| static void | ztimer64_spin_until (ztimer64_clock_t *clock, uint64_t target) |
| | Busy-wait until specified target time. More...
|
| |
| void | ztimer64_set_wakeup_at (ztimer64_clock_t *clock, ztimer64_t *timer, uint64_t target, kernel_pid_t pid) |
| | Set a timer that wakes up a thread (absolute version) More...
|
| |
| static void | ztimer64_set_wakeup (ztimer64_clock_t *clock, ztimer64_t *timer, uint64_t offset, kernel_pid_t pid) |
| | Set a timer that wakes up a thread (relative version) More...
|
| |
| void | ztimer64_set_timeout_flag_at (ztimer64_clock_t *clock, ztimer64_t *timer, uint64_t target) |
| | Set timeout thread flag at target time. More...
|
| |
| static void | ztimer64_set_timeout_flag (ztimer64_clock_t *clock, ztimer64_t *timer, uint64_t timeout) |
| | Set timeout thread flag after timeout. More...
|
| |
| int | ztimer64_mutex_lock_until (ztimer64_clock_t *clock, mutex_t *mutex, uint64_t target) |
| | Try to lock the given mutex, but give up at target time. More...
|
| |
| static int | ztimer64_mutex_lock_timeout (ztimer64_clock_t *clock, mutex_t *mutex, uint64_t timeout) |
| | Try to lock the given mutex, but give up after timeout. More...
|
| |
| int | ztimer64_rmutex_lock_until (ztimer64_clock_t *clock, rmutex_t *rmutex, uint64_t target) |
| | Try to lock the given rmutex, but give up at time. More...
|
| |
| static int | ztimer64_rmutex_lock_timeout (ztimer64_clock_t *clock, rmutex_t *rmutex, uint64_t timeout) |
| | Try to lock the given rmutex, but give up after timeout. More...
|
| |
|
void | ztimer64_update_head_offset (ztimer64_clock_t *clock) |
| | Update ztimer clock head list offset.
|
| |
|
void | ztimer64_init (void) |
| | Initialize the board-specific default ztimer configuration.
|
| |
| void | ztimer64_clock_init (ztimer64_clock_t *clock, ztimer_clock_t *base_clock) |
| | Initialize clock to be run from base_clock. More...
|
| |
| int64_t | ztimer64_overhead (ztimer64_clock_t *clock, uint64_t base) |
| | Measure ztimer64 overhead. More...
|
| |