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
..
2015-02-18 20:26:33 +01:00
2014-06-11 00:29:34 +02:00
2014-11-05 22:18:31 +01:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-07-04 10:18:07 +02:00
2014-06-11 00:29:34 +02:00
2014-10-17 17:44:06 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-12-17 22:54:20 +01:00
2014-12-17 22:54:20 +01:00
2014-06-11 00:29:34 +02:00