DPDK 22.11.7
rte_latencystats.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2017 Intel Corporation
3 */
4
5#ifndef _RTE_LATENCYSTATS_H_
6#define _RTE_LATENCYSTATS_H_
7
15#include <stdint.h>
16#include <rte_metrics.h>
17#include <rte_mbuf.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
40typedef uint16_t (*rte_latency_stats_flow_type_fn)(struct rte_mbuf *pkt,
41 void *user_param);
42
62int rte_latencystats_init(uint64_t samp_intvl,
64
73
82
100 uint16_t size);
101
122 uint16_t size);
123
124#ifdef __cplusplus
125}
126#endif
127
128#endif /* _RTE_LATENCYSTATS_H_ */
int rte_latencystats_uninit(void)
uint16_t(* rte_latency_stats_flow_type_fn)(struct rte_mbuf *pkt, void *user_param)
int32_t rte_latencystats_update(void)
int rte_latencystats_init(uint64_t samp_intvl, rte_latency_stats_flow_type_fn user_cb)
int rte_latencystats_get_names(struct rte_metric_name *names, uint16_t size)
int rte_latencystats_get(struct rte_metric_value *values, uint16_t size)