From 391784c5ed31e94ee4b425df8902fa4caa86bf88 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Thu, 16 Apr 2026 00:20:26 +0200 Subject: [PATCH] Add some missing fflush in the speed test --- cmdline/speed.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cmdline/speed.c b/cmdline/speed.c index 8f52f1f7..c5940573 100644 --- a/cmdline/speed.c +++ b/cmdline/speed.c @@ -758,6 +758,7 @@ void speed(int period, int nd, int size) } SPEED_STOP printf("%8" PRIu64, ds / dt); + fflush(stdout); } #endif #ifdef CONFIG_AVX2 @@ -770,6 +771,7 @@ void speed(int period, int nd, int size) } SPEED_STOP printf("%8" PRIu64, ds / dt); + fflush(stdout); } #endif #endif @@ -804,6 +806,7 @@ void speed(int period, int nd, int size) } SPEED_STOP printf("%8" PRIu64, ds / dt); + fflush(stdout); } #endif #ifdef CONFIG_AVX2 @@ -816,6 +819,7 @@ void speed(int period, int nd, int size) } SPEED_STOP printf("%8" PRIu64, ds / dt); + fflush(stdout); } #endif #endif @@ -848,6 +852,7 @@ void speed(int period, int nd, int size) } SPEED_STOP printf("%8" PRIu64, ds / dt); + fflush(stdout); } #endif #ifdef CONFIG_AVX2 @@ -863,6 +868,7 @@ void speed(int period, int nd, int size) } SPEED_STOP printf("%8" PRIu64, ds / dt); + fflush(stdout); } #endif #endif @@ -895,6 +901,7 @@ void speed(int period, int nd, int size) } SPEED_STOP printf("%8" PRIu64, ds / dt); + fflush(stdout); } #endif #ifdef CONFIG_AVX2 @@ -910,6 +917,7 @@ void speed(int period, int nd, int size) } SPEED_STOP printf("%8" PRIu64, ds / dt); + fflush(stdout); } #endif #endif @@ -942,6 +950,7 @@ void speed(int period, int nd, int size) } SPEED_STOP printf("%8" PRIu64, ds / dt); + fflush(stdout); } #endif #ifdef CONFIG_AVX2 @@ -957,6 +966,7 @@ void speed(int period, int nd, int size) } SPEED_STOP printf("%8" PRIu64, ds / dt); + fflush(stdout); } #endif #endif @@ -989,6 +999,7 @@ void speed(int period, int nd, int size) } SPEED_STOP printf("%8" PRIu64, ds / dt); + fflush(stdout); } #endif #ifdef CONFIG_AVX2 @@ -1004,6 +1015,7 @@ void speed(int period, int nd, int size) } SPEED_STOP printf("%8" PRIu64, ds / dt); + fflush(stdout); } #endif #endif