Commit cc840e86 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

show final statistics in quiet mode if period not specified

parent efbfaccf
...@@ -511,7 +511,7 @@ int main (int argc, char **argv) ...@@ -511,7 +511,7 @@ int main (int argc, char **argv)
time_avg = time_sum / request; time_avg = time_sum / request;
time_mdev = sqrt(time_sum2 / request - time_avg * time_avg); time_mdev = sqrt(time_sum2 / request - time_avg * time_avg);
if (!quiet) { if (!quiet || !period) {
printf("\n--- %s ioping statistics ---\n", path); printf("\n--- %s ioping statistics ---\n", path);
printf("%d requests completed in %.1f ms, %.1f mb/s\n", printf("%d requests completed in %.1f ms, %.1f mb/s\n",
request, time_total/1000., request, time_total/1000.,
......
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