[dpdk-dev] [PATCH 0/2] new headroom stats library and example application
Pawel Wodkowski
pawelx.wodkowski at intel.com
Thu Jan 29 12:50:04 CET 2015
Hi community,
I would like to introduce library for measuring load of some arbitrary jobs. It
can be used to profile every kind of job sets on any arbitrary execution unit.
In provided l2fwd-headroom example I demonstrate how to use this library to
profile packet forwarding (job set is froward, flush and stats) on LCores
(execution unit). This example does no limit possible schemes on which this
library can be used.
Pawel Wodkowski (2):
librte_headroom: New library for checking core/system/app load
examples: introduce new l2fwd-headroom example
config/common_bsdapp | 6 +
config/common_linuxapp | 6 +
examples/Makefile | 1 +
examples/l2fwd-headroom/Makefile | 51 +++
examples/l2fwd-headroom/main.c | 875 ++++++++++++++++++++++++++++++++++++
lib/Makefile | 1 +
lib/librte_headroom/Makefile | 50 +++
lib/librte_headroom/rte_headroom.c | 368 +++++++++++++++
lib/librte_headroom/rte_headroom.h | 481 ++++++++++++++++++++
mk/rte.app.mk | 4 +
10 files changed, 1843 insertions(+)
create mode 100644 examples/l2fwd-headroom/Makefile
create mode 100644 examples/l2fwd-headroom/main.c
create mode 100644 lib/librte_headroom/Makefile
create mode 100644 lib/librte_headroom/rte_headroom.c
create mode 100644 lib/librte_headroom/rte_headroom.h
--
1.7.9.5
More information about the dev
mailing list