STRUCT DIM_STATS(9)
β¨ 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:
struct dim_cq_moder(9)struct dim_irq_moder(9)struct dim_sample(9)struct dim(9)enum dim_cq_period_mode(9)enum dim_state(9)enum dim_tune_state(9)enum dim_stats_state(9)enum dim_step_result(9)net_dim_init_irq_moder(9)net_dim_free_irq_moder(9)net_dim_setting(9)net_dim_work_cancel(9)net_dim_get_rx_irq_moder(9)net_dim_get_tx_irq_moder(9)net_dim_set_rx_mode(9)net_dim_set_tx_mode(9)dim_on_top(9)dim_turn(9)dim_park_on_top(9)dim_park_tired(9)dim_calc_stats(9)dim_update_sample(9)dim_update_sample_with_comps(9)net_dim_get_rx_moderation(9)net_dim_get_def_rx_moderation(9)net_dim_get_tx_moderation(9)net_dim_get_def_tx_moderation(9)net_dim(9)rdma_dim(9)
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
- 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