STRUCT DIM_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct dim_stats(9) ✨

okay so bestie, welcome to the Kernel API Manual page for struct dim_stats(9) β€” yes, the (9) is giving kernel-section energy, we love that for us. This is literally the structure for DIM stats, used for holding the current measured rates. No cap, that's the whole vibe. 🫢


🌸 NAME 🌸

struct dim_stats β€” Structure for DIM stats. Used for holding current measured rates.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct dim_stats {
    int ppms;
    int bpms;
    int epms;
    int cpms;
    int cpe_ratio;
 };

That's the whole shape of it β€” five int members, no mystery, all business. πŸ’…


πŸŽ€ Members πŸŽ€

  • ppms β€” Packets per msec. yes bestie, packets, measured per millisecond.
  • bpms β€” Bytes per msec. the byte girlies are also getting a per-msec rate.
  • epms β€” Events per msec. events, per msec, iconic.
  • cpms β€” Completions per msec. completions said "me too" and got their own field.
  • cpe_ratio β€” Ratio of completions to events. it's giving math, it's giving relationship status between completions and events. πŸ”₯

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./include/linux/dim.h β€” and then the whole squad, fr fr:


so that's the page, bestie. it lives under the source path ./include/linux, and this lil manual moment is dated October 2026. go forth and read the DIM squad, ily, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from