tick_oneshot_mode_active(9)
π NAME π
okay so bestie, welcome to tick_oneshot_mode_active(9) in the Kernel API Manual β¨ this lil function's whole job is to check whether the system is in oneshot mode π
πΈ SYNOPSIS πΈ
int tick_oneshot_mode_active (void );
that's it. that's the whole call. no cap π«Ά
π ARGUMENTS π
voidβ literally no arguments. nothing. zero. the void is voiding π
β¨ RETURN β¨
it hands you back 1 when either nohz or highres are enabled, otherwise 0 π
so yeah: 1 = oneshot-ish vibes are active, 0 = not active. iconic behavior fr fr π
π¦ SEE ALSO π¦
- Kernel file
./kernel/time/tick-oneshot.cπ tick_program_event(9)tick_resume_oneshot(9)tick_setup_oneshot(9)tick_switch_to_oneshot(9)tick_init_highres(9)
go read those too, bestie, they're all in the same friend group π
okay that's the whole page! π«Ά source/version: ./kernel/time Β· date: October 2026 Β· tick_oneshot_mode_active(9) β bye bestie, slay responsibly π
π
π¦ 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