Scroll to navigation

STRUCT HRTIMER_CLOCK(9) Driver Basics STRUCT HRTIMER_CLOCK(9)

NAME

struct_hrtimer_clock_base - the timer base for a specific clock

SYNOPSIS

struct hrtimer_clock_base {
  struct hrtimer_cpu_base * cpu_base;
  int index;
  clockid_t clockid;
  struct timerqueue_head active;
  ktime_t (* get_time) (void);
  ktime_t offset;
};  

MEMBERS

cpu_base
per cpu clock base
index
clock type index for per_cpu support when moving a timer to a base on another cpu.
clockid
clock id for per_cpu support
active
red black tree root node for the active timers
get_time
function to retrieve the current time of the clock
offset
offset of this clock to the monotonic base

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.