hrtimer_get_remaining(9)
β¨ hrtimer_get_remaining β from the Kernel API Manual, bestie β¨
Okay so bestie, welcome to hrtimer_get_remaining(9) β it's giving "just tell me how much time is LEFT on this timer" energy and honestly? Iconic. π
πΈ NAME πΈ
hrtimer_get_remaining β get remaining time for the timer β°
Like, you point it at a timer and it tells you how long until that timer goes off. That's it. That's the whole vibe. No cap. π
π¦ SYNOPSIS π¦
ktime_t hrtimer_get_remaining (const struct hrtimer *timer );
Copy it exactly like that, bestie β ktime_t is what you get back, and it takes one const struct hrtimer * named timer. Don't be out here renaming things, that's not the move. π
π ARGUMENTS π
timerβ the timer to read π This is the one you're checking on. The main character. You hand it over and it tells you what's left on its clock. Periodt.
π«Ά SEE ALSO π«Ά
Go read these next, iykyk β they're all gonna eat, fr fr:
- Kernel file
./include/linux/hrtimer.hπ (the source of truth, literally) struct hrtimer_sleeper(9)hrtimer_start(9)hrtimer_is_queued(9)hrtimer_forward_now(9)
Lowkey a friendly reminder from me to you: everything above lives in ./include/linux β that's the house these headers live in, so go look there if you're curious. β¨
And that's the whole page, bestie! π This cutie comes to you from the Kernel API Manual, filed under ./include/linux, dated October 2026, and it's literally called hrtimer_get_remaining(9). Slay, stay queued, and go read your timers ππ¦β
π¦ 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