STRUCT TIME_IN_IDLE(9)
π NAME π
okay so this is struct time_in_idle(9), straight outta the Kernel API Manual, and it's giving Idle time stats π€β¨
struct time_in_idleβ Idle time stats, periodt. that's the whole name, bestie π«Ά
πΈ SYNOPSIS πΈ
struct time_in_idle {
u64 time;
u64 timestamp;
};
π Members π
timeβ previous reading of the absolute time that this cpu was idle β±οΈ literally the last absolute-time reading for when this cpu was idle.timestampβ wall time of the last invocation ofget_cpu_idle_time_usπ°οΈ no cap, that's the wall-time momentget_cpu_idle_time_uswas last called.
π¦ SEE ALSO π¦
Kernel file: ./drivers/thermal/cpufreq_cooling.c β and the whole friend group is here π
struct cpufreq_cooling_device(9)get_level(9)get_load(9)get_dynamic_power(9)cpufreq_get_requested_power(9)cpufreq_state2power(9)cpufreq_power2state(9)cpufreq_get_max_state(9)cpufreq_get_cur_state(9)cpufreq_set_cur_state(9)__cpufreq_cooling_register(9)cpufreq_cooling_register(9)of_cpufreq_cooling_register(9)cpufreq_cooling_unregister(9)
mwah π β source/version vibes: ./drivers/thermal, date: October 2026 πβ¨
π¦ 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