STRUCT HRTIMER_CLOCK_BASE(9)
β¨ NAME β¨
okay bestie, welcome to the struct hrtimer_clock_base(9) page from the Kernel API Manual π this is literally the timer base for a specific clock. that's the whole vibe. no cap.
πΈ SYNOPSIS πΈ
struct hrtimer_clock_base {
struct hrtimer_cpu_base *cpu_base;
const unsigned int index;
const clockid_t clockid;
seqcount_raw_spinlock_t seq;
ktime_t expires_next;
struct hrtimer *running;
struct timerqueue_linked_head active;
ktime_t offset;
};
π Members π
cpu_baseβ per cpu clock base. iconic. essential. doing its little per-cpu thing πindexβ clock type index for per_cpu support when moving a timer to a base on another cpu. yes, it's giving "I know where I belong" energy β¨clockidβ clock id for per_cpu support. short, sweet, slay.seqβ seqcount around__run_hrtimer. she's the sequencing bestie π«Άexpires_nextβ Absolute time of the next event in this clock base. highkey important β°runningβ pointer to the currently running hrtimer. main character pointer energy, fr fr πactiveβ red black tree root node for the active timers. tree root but make it fashion πoffsetβ offset of this clock to the monotonic base. little offset, big role π
π¦ SEE ALSO π¦
- Kernel file
./include/linux/hrtimer_bases.h struct hrtimer_cpu_base(9)
and that's the page, bestie π this one lives in ./include/linux and the version/date stamp is October 2026 β mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms