rte_metric_value(3)

πŸ’– rte_metric_value(3) πŸ’–

okay bestie, welcome to the Library Functions Manual β€” yes, that manual, and yes, we're doing this together 🫢


✨ NAME ✨

rte_metric_value β€” that's it, that's the name, she's simple and she's iconic πŸ’…


🌸 SYNOPSIS 🌸

#include <rte_metrics.h>

πŸŽ€ Data Fields πŸŽ€

  • uint16_t key
  • uint64_t value

like. two fields. two little icons doing their thing. no cap πŸ’œ


πŸ¦‹ Detailed Description πŸ¦‹

okay so this is the Metric value structure. it's giving "small but essential" energy fr fr ✨

this structure is used by rte_metrics_get_values() to return metrics, and here's the tea: those metrics are statistics that are not generated by PMDs. not their job, not their vibe πŸ™ˆ

it maps a name key, which corresponds to an index in the array returned by rte_metrics_get_names(). so like, the key is your little backstage pass that tells you which name in that array you're actually looking at 🎟️

you can find the definition at line 68 of file rte_metrics.h ⭐


πŸ‘‘ Field Documentation πŸ‘‘

🌈 uint16_t key

Numeric identifier of metric. it's the metric's lil ID number, its main character badge πŸ”₯

definition lives at line 70 of file rte_metrics.h πŸ’–

🌈 uint64_t value

Value for metric. the actual number, the payoff, the moment we've all been waiting for πŸ’€βœ¨

definition lives at line 72 of file rte_metrics.h 🌸


πŸ’Œ Author πŸ’Œ

Generated automatically by Doxygen for DPDK from the source code. so bestie, no human wrote this, a robot did, and honestly? she ate πŸ€–πŸ’…


heads up: this whole page is autogenerated documentation, so if something looks dry, that's between you and Doxygen 🧚

that's the whole page, we did it!! πŸŽ‰ this is DPDK, Version 25.11.3, and rte_metric_value(3) is out here living her best life in rte_metrics.h. mwah, go read your metrics, you got this πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from