]> git.droids-corp.org - dpdk.git/blobdiff - examples/l2fwd-keepalive/main.c
examples: add flush after stats printing
[dpdk.git] / examples / l2fwd-keepalive / main.c
index b7585d55e1dd6b2112bac8593229e976c60fbd98..b2742633bc653d1f7f43bc50f3352aba0baf0366 100644 (file)
@@ -160,6 +160,8 @@ print_stats(__rte_unused struct rte_timer *ptr_timer,
                   total_packets_rx,
                   total_packets_dropped);
        printf("\n====================================================\n");
                   total_packets_rx,
                   total_packets_dropped);
        printf("\n====================================================\n");
+
+       fflush(stdout);
 }
 
 static void
 }
 
 static void