STRUCT TIME_IN_IDLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 of get_cpu_idle_time_us πŸ•°οΈ no cap, that's the wall-time moment get_cpu_idle_time_us was last called.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/thermal/cpufreq_cooling.c β€” and the whole friend group is here πŸ‘‘


mwah πŸ’‹ β€” source/version vibes: ./drivers/thermal, date: October 2026 🌈✨

πŸ“¦ where this page comes from