STRUCT DEVFREQ_EVENT_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct devfreq_event_data(9) β€” the devfreq-event data

okay so bestie, welcome to the Kernel API Manual β€” this one's a little struct called struct devfreq_event_data(9) and honestly? it's giving "small but does the most". let's get into it ✨


🌸 NAME 🌸

struct devfreq_event_data β€” literally just the devfreq-event data. that's the whole vibe. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct devfreq_event_data {
    unsigned long load_count;
    unsigned long total_count;
 };

two unsigned longs and a dream, bestie. iconic.


πŸŽ€ Members πŸŽ€

  • load_count β€” the load count of the devfreq-event device for the given period. that's it, that's the field 🫢
  • total_count β€” the total count of the devfreq-event device for the given period. and here's the juicy part: each count may represent a clock cycle, a time unit (ns/us/...), or literally anything the device driver wants. it's very "you do you" of them. Generally, utilization is load_count / total_count.

πŸ’œ Description πŸ’œ

this structure contains the data of devfreq-event device for the polling period. so yeah β€” it's the lil container holding the numbers while everybody's out here polling. main character energy, honestly πŸ”₯


🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/devfreq-event.h struct devfreq_event_dev(9), struct devfreq_event_ops(9), struct devfreq_event_desc(9)

go read the whole friend group, they're all linked πŸ’–


and that's the page!! source: ./include/linux, dated October 2026, from your fave Kernel API Manual β€” mwah, stan this struct, and i'll see you in the next manpage bestie πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from