numam-dpdk/mk
Pawel Wodkowski 2caeb8c014 examples/l2fwd-jobstats: new example
This app demonstrate usage of new rte_jobstats library.
It is basically the orginal l2fwd with following modifications to met
library requirements:
- main_loop() was split into two jobs: forward job and flush job. Logic
for those jobs is almost the same as in original application.
- stats is moved to rte_alarm callback to not introduce overhead of
printing.
- stats are expanded to show rte_jobstats statistics.
- added new parameter '-l' to automatic thousands separator.

Comparing original l2fwd and l2fwd-jobstats apps will show approach what
is needed to properly write own application with rte_jobstats
measurements.

New available statistics:
- Total and % of fwd and flush execution time
- management time - overhead of rte_timer + overhead of rte_jobstats
library
- Idle time and % of time spent waiting for fwd or flush to be ready to
execute.
- per job execution time and period.

Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2015-02-24 22:19:25 +01:00
..
arch mk: support x32 ABI 2015-02-18 20:26:33 +01:00
exec-env mk: fix linking with some linux toolchains 2014-11-29 21:17:01 +01:00
internal remove trailing whitespaces 2014-06-11 00:29:34 +02:00
machine mk: introduce IBM Power architecture 2014-11-26 21:50:09 +01:00
target/generic mk: no more bare metal environment 2014-11-27 13:09:46 +01:00
toolchain mk: fix build with Debian/Ubuntu-specific gcc version 2015-02-24 12:11:16 +01:00
rte.app.mk examples/l2fwd-jobstats: new example 2015-02-24 22:19:25 +01:00
rte.bsdmodule.mk mk: fix bsd module build 2014-11-05 22:18:31 +01:00
rte.cpuflags.mk eal/ppc: cpu flag checks for IBM Power 2014-11-26 21:50:10 +01:00
rte.extapp.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extobj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extsubdir.mk mk: introduce rte.extsubdir.mk for projects with subdirectories 2014-05-16 13:28:21 +02:00
rte.extvars.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.gnuconfigure.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostapp.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.install.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.lib.mk mk: add DT_SONAME to shared libraries 2015-02-04 23:29:29 +01:00
rte.module.mk mk: pass CC option for kernel modules 2014-10-15 16:01:29 +02:00
rte.obj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkbuild.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkconfig.mk version: 1.7.0 2014-07-04 10:18:07 +02:00
rte.sdkdepdirs.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkdoc.mk mk: fix doc cleaning 2014-10-17 17:44:06 +02:00
rte.sdkexamples.mk mk: add "make examples" target in root makefile 2014-05-16 16:02:55 +02:00
rte.sdkgcov.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkinstall.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkroot.mk mk: no more bare metal environment 2014-11-27 13:09:46 +01:00
rte.sdktest.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdktestall.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.shared.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.sharelib.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.subdir.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.vars.mk mk: fix link examples to combined library 2014-12-17 19:42:18 +01:00