metrics: add information metrics library
authorRemy Horton <remy.horton@intel.com>
Thu, 30 Mar 2017 21:00:57 +0000 (22:00 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 5 Apr 2017 15:58:51 +0000 (17:58 +0200)
commit349950ddb9c5700dc4921ee758fb55265f0e7f16
treefa962347b770b424634628c923fa76752ec58a2c
parent10def6a1070999a8da2b89e8a8e10fa1eb8b866c
metrics: add information metrics library

This patch adds a new information metrics library. This Metrics
library implements a mechanism by which producers can publish
numeric information for later querying by consumers. Metrics
themselves are statistics that are not generated by PMDs, and
hence are not reported via ethdev extended statistics.

Metric information is populated using a push model, where
producers update the values contained within the metric
library by calling an update function on the relevant metrics.
Consumers receive metric information by querying the central
metric data, which is held in shared memory.

Signed-off-by: Remy Horton <remy.horton@intel.com>
13 files changed:
MAINTAINERS
config/common_base
doc/api/doxy-api-index.md
doc/api/doxy-api.conf
doc/guides/prog_guide/index.rst
doc/guides/prog_guide/metrics_lib.rst [new file with mode: 0644]
doc/guides/rel_notes/release_17_05.rst
lib/Makefile
lib/librte_metrics/Makefile [new file with mode: 0644]
lib/librte_metrics/rte_metrics.c [new file with mode: 0644]
lib/librte_metrics/rte_metrics.h [new file with mode: 0644]
lib/librte_metrics/rte_metrics_version.map [new file with mode: 0644]
mk/rte.app.mk