tick_nohz_ge...le_calls_cpu(9)
okay bestie, welcome to the Kernel API Manual β¨ this is literally the page for tick_nohz_get_idle_calls_cpu(9), and it's giving βcheck one CPUβs idle-calls counterβ energy π
π NAME π
tick_nohz_get_idle_calls_cpu β returns the current idle calls counter value for a particular CPU. no cap, thatβs the whole assignment π«Ά
πΈ SYNOPSIS πΈ
unsigned long tick_nohz_get_idle_calls_cpu (int cpu );
π ARGUMENTS π
cpuβ the target CPU number π like, which CPU are we checking? this one.
π¦ DESCRIPTION π¦
Itβs called from the schedutil frequency scaling governor in scheduler context. thatβs the lore, fr fr β¨
β RETURN β
It hands back the current idle calls counter value for cpu π thatβs the return value, bestie.
π₯ SEE ALSO π₯
Kernel file ./kernel/time/tick-sched.c, plus these absolute icons:
tick_nohz_update_jiffies(9)tick_nohz_next_event(9)tick_nohz_idle_stop_tick(9)tick_nohz_idle_enter(9)tick_nohz_irq_exit(9)tick_nohz_idle_got_tick(9)tick_nohz_get_next_hrtimer(9)tick_nohz_get_sleep_length(9)tick_nohz_idle_exit(9)tick_nohz_switch_to_nohz(9)tick_setup_sched_timer(9)
signing off from source/version ./kernel/time, October 2026, for tick_nohz_ge...le_calls_cpu(9) π
stay slay, 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