[dpdk-dev] [PATCH v4] latencystats: added new library for latency stats

2016-11-11 Thread Remy Horton
On 07/11/2016 21:14, Reshma Pattan wrote: [..] > Signed-off-by: Reshma Pattan Reviewed-by: Remy Horton > +static void > +metrics_display(int port_id) > +{ > +struct rte_stat_value *stats; > +struct rte_metric_name *names; Note that rte_stats_value is being renamed to

[dpdk-dev] [PATCH v4] latencystats: added new library for latency stats

2016-11-08 Thread Pattan, Reshma
CCing maintainers of Mbuf , testpmd and dpdk-procinfo. > -Original Message- > From: Pattan, Reshma > Sent: Monday, November 7, 2016 1:15 PM > To: dev at dpdk.org > Cc: Pattan, Reshma > Subject: [PATCH v4] latencystats: added new library for latency stats > > Library is designed to

[dpdk-dev] [PATCH v4] latencystats: added new library for latency stats

2016-11-07 Thread Reshma Pattan
Library is designed to calculate latency stats and report them to the application when queried. Library measures minimum, average, maximum latencies and jitter in nano seconds. Current implementation supports global latency stats, i.e. per application stats. Added new field to mbuf struct to mark