STRUCT GNET_ESTIMATOR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct gnet_estimator(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this page is all about struct gnet_estimator, and it's giving tiny iconic config-struct energy. no cap. πŸ’…

πŸŽ€ NAME πŸŽ€

struct gnet_estimator β€” rate estimator configuration. that's the whole vibe, periodt.

✨ SYNOPSIS ✨

here's the struct in all its glory, copy it exactly:

struct gnet_estimator {
    signed char     interval;
    unsigned char   ewma_log;
 };

the field types are literally signed char and unsigned char, so don't go changing them up. 🫢

πŸ‘― Members πŸ‘―

  • interval β€” sampling period. that's it, that's the member.
  • ewma_log β€” the log of measurement window weight. not me being obsessed with a logarithm field. 😭

🌈 SEE ALSO 🌈

check these next, bestie β€” they're the linked-list besties of this page:

  • Kernel file ./include/uapi/linux/gen_stats.h
  • struct gnet_stats_basic(9)
  • struct gnet_stats_rate_est(9)
  • struct gnet_stats_rate_est64(9)
  • struct gnet_stats_queue(9)

xoxo πŸ’– β€” source/version: ./include/uapi/linux Β· date: October 2026 Β· page: struct gnet_estimator(9).

πŸ“¦ where this page comes from