[dpdk-dev] [PATCH v6 4/4] latencystats: added new library for latency stats
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Jan 12 14:41:24 CET 2017
2017-01-12 00:03, Remy Horton:
> Add a library designed to calculate latency statistics and report them
> to the application when queried. The library measures minimum, average and
> maximum latencies, and jitter in nano seconds. The current implementation
> supports global latency stats, i.e. per application stats.
Is it specific to ethdev ports?
> Added new field to mbuf struct to mark the packet arrival time on Rx.
There was another patch adding a timestamp in mbuf:
http://dpdk.org/ml/archives/dev/2016-October/048809.html
> Modify testpmd code to initialize/uninitialize latency statistics
> calulation.
>
> Modify the dpdk-procinfo process to display the newly added metrics.
> Added new command line option "--metrics" to display metrics.
It should be a separate patch.
> APIs:
>
> * Added APIs to initialize and un initialize latency stats
> calculation.
> * Added API to retrieve latency stats names and values.
Why bitrate and latencies are separate libs?
More information about the dev
mailing list