examples: add flush after stats printing
[dpdk.git] / examples / l2fwd-event / main.c
index 9593ef1..4fe5003 100644 (file)
@@ -516,6 +516,8 @@ print_stats(struct l2fwd_resources *rsrc)
                   total_packets_rx,
                   total_packets_dropped);
        printf("\n====================================================\n");
+
+       fflush(stdout);
 }
 
 static void