struct hrtimer_base(9)

NAME

struct hrtimer_base - the timer base for a specific clock

SYNOPSIS

struct hrtimer_base {
  clockid_t index;
  spinlock_t lock;
  struct rb_root active;
  struct rb_node * first;
  ktime_t resolution;
  ktime_t (* get_time) (void);
  ktime_t (* get_softirq_time) (void);
  struct hrtimer * curr_timer;
  ktime_t softirq_time;
  struct lock_class_key lock_key;
};

MEMBERS

index
clock type index for per_cpu support when moving a
timer to a base on another cpu.
lock
lock protecting the base and associated timers
active
red black tree root node for the active timers
first
pointer to the timer node which expires first
resolution
the resolution of the clock, in nanoseconds
get_time
function to retrieve the current time of the clock
get_softirq_time
function to retrieve the current time from the softirq
curr_timer
the timer which is executing a callback right now
softirq_time
the time when running the hrtimer queue in the softirq
lock_key
the lock_class_key for use with lockdep

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout