git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples: add flush after stats printing
[dpdk.git]
/
examples
/
l2fwd-jobstats
/
main.c
diff --git
a/examples/l2fwd-jobstats/main.c
b/examples/l2fwd-jobstats/main.c
index
396fd89
..
47a3b09
100644
(file)
--- a/
examples/l2fwd-jobstats/main.c
+++ b/
examples/l2fwd-jobstats/main.c
@@
-329,6
+329,9
@@
show_stats_cb(__rte_unused void *param)
}
printf("\n====================================================\n");
+
+ fflush(stdout);
+
rte_eal_alarm_set(timer_period * US_PER_S, show_stats_cb, NULL);
}