numam-dpdk/examples
Pawel Wodkowski 204896f8d6 examples/l2fwd-jobstats: add 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.

Fixes: 2caeb8c014 ("examples/l2fwd-jobstats: new example")
[Thomas: files were missing in the previous commit]

Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2015-02-25 10:23:31 +01:00
..
bond examples/bond: add example application for link bonding mode 6 2015-02-20 23:07:02 +01:00
cmdline cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
distributor ethdev: unification of RSS offload types 2015-02-22 23:56:20 +01:00
dpdk_qat add prefix to cache line macros 2014-11-27 16:21:11 +01:00
exception_path app,examples: remove references to drivers config 2014-11-10 10:07:56 +01:00
helloworld examples: no more bare metal environment 2014-11-27 13:09:59 +01:00
ip_fragmentation mbuf: remove build option to disable refcnt 2015-02-23 19:31:24 +01:00
ip_pipeline mbuf: remove build option to disable refcnt 2015-02-23 19:31:24 +01:00
ip_reassembly add prefix to cache line macros 2014-11-27 16:21:11 +01:00
ipv4_multicast mbuf: remove build option to disable refcnt 2015-02-23 19:31:24 +01:00
kni add prefix to cache line macros 2014-11-27 16:21:11 +01:00
l2fwd examples: no more bare metal environment 2014-11-27 13:09:59 +01:00
l2fwd-ivshmem examples: use factorized default Rx/Tx configuration 2014-10-10 13:01:49 +02:00
l2fwd-jobstats examples/l2fwd-jobstats: add new example 2015-02-25 10:23:31 +01:00
l3fwd eal: introduce ymm type for AVX 256-bit 2015-01-28 17:11:25 +01:00
l3fwd-acl ethdev: unification of RSS offload types 2015-02-22 23:56:20 +01:00
l3fwd-power examples: no more bare metal environment 2014-11-27 13:09:59 +01:00
l3fwd-vf examples/l3fwd-vf: fix race condition 2014-12-11 01:42:03 +01:00
link_status_interrupt examples: no more bare metal environment 2014-11-27 13:09:59 +01:00
load_balancer examples: no more bare metal environment 2014-11-27 13:09:59 +01:00
multi_process examples/multi_process: fix resilience by enabling Rx drop 2014-12-05 16:55:00 +01:00
netmap_compat examples/netmap_compat: fix overflow in ioctl operation 2014-12-18 00:26:08 +01:00
packet_ordering examples/packet_ordering: move creation of reorder buffer 2015-02-24 03:04:10 +01:00
qos_meter examples: no more bare metal environment 2014-11-27 13:09:59 +01:00
qos_sched add prefix to cache line macros 2014-11-27 16:21:11 +01:00
quota_watermark examples: no more bare metal environment 2014-11-27 13:09:59 +01:00
rxtx_callbacks examples/rxtx_callbacks: show use of callbacks 2015-02-24 00:38:31 +01:00
skeleton examples: no more bare metal environment 2014-11-27 13:09:59 +01:00
timer examples: no more bare metal environment 2014-11-27 13:09:59 +01:00
vhost mbuf: remove build option to disable refcnt 2015-02-23 19:31:24 +01:00
vhost_xen cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
vm_power_manager examples/vm_power: fix initialization of cmdline token 2014-12-18 00:26:08 +01:00
vmdq examples: no more bare metal environment 2014-11-27 13:09:59 +01:00
vmdq_dcb examples: no more bare metal environment 2014-11-27 13:09:59 +01:00
Makefile examples/l2fwd-jobstats: new example 2015-02-24 22:19:25 +01:00