[dpdk-dev] [PATCH v6 4/4] latencystats: added new library for latency stats
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:
> Modify testpmd code to initialize/uninitialize latency statistics
> 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.
> * Added APIs to initialize and un initialize latency stats
> * Added API to retrieve latency stats names and values.
Why bitrate and latencies are separate libs?
More information about the dev