Home
last modified time | relevance | path

Searched refs:metrics (Results 1 – 23 of 23) sorted by relevance

/dpdk/doc/guides/prog_guide/
H A Dmetrics_lib.rst43 Registering metrics
106 Querying metrics
115 print out all metrics for a given port:
120 struct rte_metric_value *metrics;
126 printf("Cannot get metrics count\n");
135 if (metrics == NULL || names == NULL) {
137 free(metrics);
143 printf("Cannot get metrics values\n");
144 free(metrics);
151 names[metrics[i].key].name, metrics[i].value);
[all …]
H A Drib_lib.rst114 metrics, administrative distance and other routing protocol information.
H A Dpoll_mode_drv.rst490 packets are dropped, the application does not read any other metrics for
/dpdk/lib/metrics/
H A Drte_metrics_telemetry.c157 struct rte_metric_value *metrics = NULL; in rte_metrics_tel_format_port() local
171 metrics = malloc(sizeof(struct rte_metric_value) * num_metrics); in rte_metrics_tel_format_port()
173 if (metrics == NULL || names == NULL) { in rte_metrics_tel_format_port()
180 rte_metrics_get_values(pid, metrics, num_metrics) in rte_metrics_tel_format_port()
195 if (metrics[i].key == metric_ids[j]) in rte_metrics_tel_format_port()
202 "name", names[metrics[i].key].name, in rte_metrics_tel_format_port()
203 "value", metrics[i].value); in rte_metrics_tel_format_port()
206 metrics[i].key); in rte_metrics_tel_format_port()
218 free(metrics); in rte_metrics_tel_format_port()
223 free(metrics); in rte_metrics_tel_format_port()
/dpdk/lib/bitratestats/
H A Dmeson.build6 deps += ['ethdev', 'metrics']
/dpdk/lib/latencystats/
H A Dmeson.build6 deps += ['metrics', 'ethdev']
/dpdk/app/proc-info/
H A Dmain.c609 struct rte_metric_value *metrics; in metrics_display() local
624 metrics = rte_malloc("proc_info_metrics", in metrics_display()
626 if (metrics == NULL) { in metrics_display()
634 rte_free(metrics); in metrics_display()
640 rte_free(metrics); in metrics_display()
650 ret = rte_metrics_get_values(port_id, metrics, len); in metrics_display()
653 rte_free(metrics); in metrics_display()
660 printf("%s: %"PRIu64"\n", names[i].name, metrics[i].value); in metrics_display()
663 rte_free(metrics); in metrics_display()
H A Dmeson.build13 deps += 'metrics'
/dpdk/lib/telemetry/
H A Dmeson.build8 includes += include_directories('../metrics')
/dpdk/examples/l3fwd-power/
H A Dmeson.build10 deps += ['power', 'timer', 'lpm', 'hash', 'metrics', 'telemetry']
/dpdk/app/test/
H A Dtest_metrics.c193 struct rte_metric_name metrics[METRIC_LESSER_COUNT]; in test_metrics_get_names() local
215 err = rte_metrics_get_names(metrics, METRIC_LESSER_COUNT); in test_metrics_get_names()
/dpdk/app/test-pmd/
H A Dmeson.build56 deps += 'metrics'
/dpdk/lib/
H A Dmeson.build24 'metrics', # bitrate/latency stats depends on this
78 'metrics',
/dpdk/doc/api/
H A Ddoxy-api.conf.in61 @TOPDIR@/lib/metrics \
H A Ddoxy-api-index.md31 [metrics] (@ref rte_metrics.h),
/dpdk/doc/guides/rel_notes/
H A Drelease_17_05.rst235 * **Added information metrics library.**
237 Added a library that allows information metrics to be added and updated
246 bitrates are reported using the metrics library.
H A Ddeprecation.rst119 * metrics: The function ``rte_metrics_init`` will have a non-void return
H A Drelease_19_08.rst177 * **Updated telemetry library for global metrics support.**
179 Updated ``librte_telemetry`` to fetch the global metrics from the
H A Drelease_20_05.rst249 reported through the metrics library.
H A Drelease_20_11.rst114 * Added network interface metrics which can be read using xstats.
/dpdk/doc/guides/tools/
H A Dtestbbdev.rst110 - The test measures 4 metrics
/dpdk/doc/guides/eventdevs/
H A Ddlb2.rst329 Per queue threshold metrics are tracked in the DLB xstats, and are also
/dpdk/
H A DMAINTAINERS1625 F: lib/metrics/