High-resolution timers
Prev
Chapter 1. Driver Basics
Next
High-resolution timers
ktime_set
— Set a ktime_t variable from a seconds/nanoseconds value
ktime_equal
— Compares two ktime_t variables to see if they are equal
ktime_compare
— Compares two ktime_t variables for less, greater or equal
ktime_after
— Compare if a ktime_t value is bigger than another one.
ktime_before
— Compare if a ktime_t value is smaller than another one.
ktime_to_timespec_cond
— convert a ktime_t variable to timespec format only if the variable contains data
ktime_to_timespec64_cond
— convert a ktime_t variable to timespec64 format only if the variable contains data
struct hrtimer
— the basic hrtimer structure
struct hrtimer_sleeper
— simple sleeper structure
struct hrtimer_clock_base
— the timer base for a specific clock
hrtimer_forward
— forward the timer expiry
hrtimer_start_range_ns
— (re)start an hrtimer on the current CPU
hrtimer_start
— (re)start an hrtimer on the current CPU
hrtimer_try_to_cancel
— try to deactivate a timer
hrtimer_cancel
— cancel a timer and wait for the handler to finish.
hrtimer_get_remaining
— get remaining time for the timer
hrtimer_init
— initialize a timer to the given clock
hrtimer_get_res
— get the timer resolution for a clock
schedule_hrtimeout_range
— sleep until timeout
schedule_hrtimeout
— sleep until timeout