itimer_get_remtime(9)
π NAME π
okay bestie, welcome to the itimer_get_remtime(9) page from the Kernel API Manual β this one is literally about getting the remaining time for the timer π
itimer_get_remtime β get remaining time for the timer β¨
β¨ SYNOPSIS β¨
struct timespec64 itimer_get_remtime (struct hrtimer *timer );
π ARGUMENTS π
timerβ the timer to read, bestie π«Ά thatβs the one youβre checking, no cap.
π¦ DESCRIPTION π¦
It returns the delta between the expiry time and now πΈ and the way that works is: that delta can be less than zero, or 1usec for an pending expired timer. periodt π
lowkey important detail: less than zero is a whole valid vibe here, and 1usec is specifically called out for an pending expired timer π
π SEE ALSO π
- Kernel file
./kernel/time/itimer.candalarm_setitimer(9)β go read those too, iykyk π₯
mwah π cute lil sign-off: this page lives under ./kernel/time, dated October 2026, and itβs literally the itimer_get_remtime(9) page from the Kernel API Manual. bye bestie π«Άπ
π¦ 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