October 2017
Intermediate to advanced
586 pages
14h 8m
English
The HRT setup initialization is done as follows:
void hrtimer_init( struct hrtimer *time, clockid_t which_clock,
enum hrtimer_mode mode);
int hrtimer_start( struct hrtimer *timer, ktime_t time,
const enum hrtimer_mode mode);
mode represents the expiry mode. It should be HRTIMER_MODE_ABS for an absolute time value, or HRTIMER_MODE_REL for a time value relative to now.