DPDK  21.08.0
Data Fields
rte_metric_value Struct Reference

#include <rte_metrics.h>

Data Fields

uint16_t key
 
uint64_t value
 

Detailed Description

Metric value structure.

This structure is used by rte_metrics_get_values() to return metrics, which are statistics that are not generated by PMDs. It maps a name key, which corresponds to an index in the array returned by rte_metrics_get_names().

Definition at line 69 of file rte_metrics.h.

Field Documentation

◆ key

uint16_t key

Numeric identifier of metric.

Definition at line 71 of file rte_metrics.h.

◆ value

uint64_t value

Value for metric

Definition at line 73 of file rte_metrics.h.


The documentation for this struct was generated from the following file: