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_sub
— subtract two ktime_t variables
ktime_add
— add two ktime_t variables
timespec_to_ktime
— convert a timespec to ktime_t format
timeval_to_ktime
— convert a timeval to ktime_t format
ktime_to_timespec
— convert a ktime_t variable to timespec format
ktime_to_timeval
— convert a ktime_t variable to timeval format
ktime_to_ns
— convert a ktime_t variable to scalar nanoseconds
ktime_equal
— Compares two ktime_t variables to see if they are equal
struct hrtimer
— the basic hrtimer structure
struct hrtimer_sleeper
— simple sleeper structure
struct hrtimer_clock_base
— the timer base for a specific clock
ktime_add_ns
— Add a scalar nanoseconds value to a ktime_t variable
ktime_sub_ns
— Subtract a scalar nanoseconds value from a ktime_t variable
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