summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorReshma Pattan <reshma.pattan@intel.com>2017-03-30 22:01:01 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-04-05 18:00:42 +0200
commit5cd3cac9ed228f35e10fc322483f10897ae44c86 (patch)
treeec2cce72cfb64dce2faf2b5ff27f7a0a5553b864 /config
parent7e4441c8efb95ba2e14cafe63c86c335b658c18d (diff)
downloaddpdk-5cd3cac9ed228f35e10fc322483f10897ae44c86.zip
dpdk-5cd3cac9ed228f35e10fc322483f10897ae44c86.tar.gz
dpdk-5cd3cac9ed228f35e10fc322483f10897ae44c86.tar.xz
latency: added new library for latency stats
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. Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Signed-off-by: Remy Horton <remy.horton@intel.com> Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/common_base b/config/common_base
index 6ebede1..7d7290c 100644
--- a/config/common_base
+++ b/config/common_base
@@ -563,6 +563,11 @@ CONFIG_RTE_LIBRTE_METRICS=y
CONFIG_RTE_LIBRTE_BITRATE=y
#
+# Compile the latency statistics library
+#
+CONFIG_RTE_LIBRTE_LATENCY_STATS=y
+
+#
# Compile librte_lpm
#
CONFIG_RTE_LIBRTE_LPM=y