23 #ifndef _RTE_METRICS_H_ 24 #define _RTE_METRICS_H_ 33 #define RTE_METRICS_MAX_NAME_LEN 64 43 #define RTE_METRICS_GLOBAL -1 192 const uint64_t value);
215 const uint64_t *values,
char name[RTE_METRICS_MAX_NAME_LEN]
int rte_metrics_update_values(int port_id, uint16_t key, const uint64_t *values, uint32_t count)
int rte_metrics_update_value(int port_id, uint16_t key, const uint64_t value)
void rte_metrics_init(int socket_id)
#define RTE_METRICS_MAX_NAME_LEN
int rte_metrics_get_values(int port_id, struct rte_metric_value *values, uint16_t capacity)
int rte_metrics_get_names(struct rte_metric_name *names, uint16_t capacity)
int rte_metrics_reg_name(const char *name)
int rte_metrics_reg_names(const char *const *names, uint16_t cnt_names)