summaryrefslogtreecommitdiff
path: root/Microbenchmarks
diff options
context:
space:
mode:
authorMarcel Köppen <marcel.koeppen@uos.de>2024-05-13 14:08:46 +0200
committerMarcel Köppen <marcel.koeppen@uos.de>2024-05-13 14:08:46 +0200
commit1e7b42b51080689c1c1f49fc42329e4df7e5434f (patch)
tree755d2902d985ff4d8429cdcf3cf2a548b0a0ebdb /Microbenchmarks
parent038ced2c1037e57e8d7c05c79d681278fbbff5cb (diff)
Flush stdout after printing iteration results
Diffstat (limited to 'Microbenchmarks')
-rw-r--r--Microbenchmarks/STREAM/host/app.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Microbenchmarks/STREAM/host/app.c b/Microbenchmarks/STREAM/host/app.c
index bd358cf..2f11bba 100644
--- a/Microbenchmarks/STREAM/host/app.c
+++ b/Microbenchmarks/STREAM/host/app.c
@@ -392,6 +392,7 @@ int main(int argc, char **argv) {
} else {
printf("[" ANSI_COLOR_RED "ERROR" ANSI_COLOR_RESET "] Outputs differ!\n");
}
+ fflush(stdout);
}