STRUCT HRTIMER_CLOCK_BASE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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