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 keyuint64_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
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms