1STRUCT HRTIMER_CLOCK(9)          Driver Basics         STRUCT HRTIMER_CLOCK(9)
2
3
4

NAME

6       struct_hrtimer_clock_base - the timer base for a specific clock
7

SYNOPSIS

9       struct hrtimer_clock_base {
10         struct hrtimer_cpu_base * cpu_base;
11         clockid_t index;
12         struct rb_root active;
13         struct rb_node * first;
14         ktime_t resolution;
15         ktime_t (* get_time) (void);
16         ktime_t softirq_time;
17         ktime_t offset;
18       };
19

MEMBERS

21       cpu_base
22           per cpu clock base
23
24       index
25           clock type index for per_cpu support when moving a timer to a base
26           on another cpu.
27
28       active
29           red black tree root node for the active timers
30
31       first
32           pointer to the timer node which expires first
33
34       resolution
35           the resolution of the clock, in nanoseconds
36
37       get_time
38           function to retrieve the current time of the clock
39
40       softirq_time
41           the time when running the hrtimer queue in the softirq
42
43       offset
44           offset of this clock to the monotonic base
45
47Kernel Hackers Manual 2.6.         June 2019           STRUCT HRTIMER_CLOCK(9)
Impressum