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       #ifdef CONFIG_HIGH_RES_TIMERS
18         ktime_t offset;
19       #endif
20       };
21

MEMBERS

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