2caeb8c014
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> |
||
---|---|---|
.. | ||
arch | ||
exec-env | ||
internal | ||
machine | ||
target/generic | ||
toolchain | ||
rte.app.mk | ||
rte.bsdmodule.mk | ||
rte.cpuflags.mk | ||
rte.extapp.mk | ||
rte.extlib.mk | ||
rte.extobj.mk | ||
rte.extshared.mk | ||
rte.extsubdir.mk | ||
rte.extvars.mk | ||
rte.gnuconfigure.mk | ||
rte.hostapp.mk | ||
rte.hostlib.mk | ||
rte.install.mk | ||
rte.lib.mk | ||
rte.module.mk | ||
rte.obj.mk | ||
rte.sdkbuild.mk | ||
rte.sdkconfig.mk | ||
rte.sdkdepdirs.mk | ||
rte.sdkdoc.mk | ||
rte.sdkexamples.mk | ||
rte.sdkgcov.mk | ||
rte.sdkinstall.mk | ||
rte.sdkroot.mk | ||
rte.sdktest.mk | ||
rte.sdktestall.mk | ||
rte.shared.mk | ||
rte.sharelib.mk | ||
rte.subdir.mk | ||
rte.vars.mk |