Commit c40e0e7f authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5419 add fflushes to stress test output


git-svn-id: file:///svn/toku/tokudb@48061 c7de825b-a66e-492c-adef-691d508d4ae1
parent 82a8d332
...@@ -212,6 +212,7 @@ human_print_perf_iteration(const struct cli_args *cli_args, const int current_ti ...@@ -212,6 +212,7 @@ human_print_perf_iteration(const struct cli_args *cli_args, const int current_ti
const double totalpersecond = (double) period_total / secondsthisiter; const double totalpersecond = (double) period_total / secondsthisiter;
printf("\tTotal %'12" PRIu64 " (%'12.1lf/s)\n", period_total, totalpersecond); printf("\tTotal %'12" PRIu64 " (%'12.1lf/s)\n", period_total, totalpersecond);
} }
fflush(stdout);
} }
static void static void
...@@ -289,6 +290,7 @@ csv_print_perf_iteration(const struct cli_args *cli_args, const int current_time ...@@ -289,6 +290,7 @@ csv_print_perf_iteration(const struct cli_args *cli_args, const int current_time
printf(",%" PRIu64 ",%.1lf", period_totals[op], totalpersecond); printf(",%" PRIu64 ",%.1lf", period_totals[op], totalpersecond);
} }
printf("\n"); printf("\n");
fflush(stdout);
} }
static void static void
...@@ -355,6 +357,7 @@ tsv_print_perf_iteration(const struct cli_args *cli_args, const int current_time ...@@ -355,6 +357,7 @@ tsv_print_perf_iteration(const struct cli_args *cli_args, const int current_time
printf("\t%" PRIu64 "\t%.1lf", period_totals[op], totalpersecond); printf("\t%" PRIu64 "\t%.1lf", period_totals[op], totalpersecond);
} }
printf("\n"); printf("\n");
fflush(stdout);
} }
static void static void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment