STRUCT DEVFREQ_EVENT_DATA(9)
π 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 isload_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.hstruct 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
- 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