STRUCT DEVFREQ_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to struct devfreq_stats(9) from the Kernel API Manual β€” this is the Statistics of devfreq device behavior struct. she’s the little stats corner for a devfreq device, and she’s literally iconic πŸ’….

🌸 SYNOPSIS 🌸

       struct devfreq_stats {
           unsigned int total_trans;
           unsigned int *trans_table;
           u64 *time_in_state;
           u64 last_update;
        };

πŸŽ€ Members πŸŽ€

  • total_trans β€” Number of devfreq transitions. count ’em, bestie, no cap πŸ’–
  • trans_table β€” Statistics of devfreq transitions. the receipts for all those transitions, periodt ✨
  • time_in_state β€” Statistics of devfreq states. the state-time tea, lowkey essential 🫢
  • last_update β€” The last time stats were updated. timestamp check, iykyk πŸ’œ

πŸ’– SEE ALSO πŸ’–

Kernel file ./include/linux/devfreq.h plus the whole squad:

  • struct devfreq_dev_status(9)
  • struct devfreq_dev_profile(9)
  • struct devfreq(9)
  • struct devfreq_simple_ondemand_data(9)
  • struct devfreq_passive_data(9)

made with πŸ’œ from the kernel files in ./include/linux β€” October 2026 β€” go read the SEE ALSO squad, bestie, periodt. 🫢

πŸ“¦ where this page comes from