Commit 27de1158 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

ioping: print total requests count in raw statistics

Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
parent 22adbbe3
......@@ -183,15 +183,15 @@ Error during runtime.
.B ioping -p 100 -c 200 -i 0 -q .
.ad l
.br
\f(CW100 26694 3746 15344272 188 267 1923 228 0 26694
\f(CW100 26694 3746 15344272 188 267 1923 228 100 26694
.br
100 24165 4138 16950134 190 242 2348 214 0 24165
100 24165 4138 16950134 190 242 2348 214 100 24165
.br
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10)
.br
.br
(1) count of requests
(1) count of requests in statistics
.br
(2) running time (usec)
.br
......@@ -207,7 +207,7 @@ Error during runtime.
.br
(8) request time standard deviation (usec)
.br
(9) count of cache hits (see option -t)
(9) total requests (including too slow and too fast)
.br
(10) total running time (usec)
.SH EXAMPLES
......
......@@ -1376,7 +1376,7 @@ skip_preparation:
part_valid * size / part_sum,
part_min, part_avg,
part_max, part_mdev,
(unsigned long)(part_request - part_valid),
(unsigned long)part_request,
(unsigned long)(time_now - part_start));
part_min = LLONG_MAX;
......@@ -1447,7 +1447,7 @@ skip_preparation:
total_valid * size / time_sum,
time_min, time_avg,
time_max, time_mdev,
(unsigned long)(request - total_valid),
(unsigned long)request,
(unsigned long)time_total);
} else if (!quiet || (!period_time && !period_request)) {
printf("\n--- %s (%s %s", path, fstype, device);
......@@ -1458,14 +1458,6 @@ skip_preparation:
printf(" requests completed in ");
print_time(time_sum);
printf(", ");
if (too_fast) {
print_int(too_fast);
printf(" too fast, ");
}
if (too_slow) {
print_int(too_slow);
printf(" too slow, ");
}
print_size((long long)total_valid * size);
printf(" %s, ", write_read_test ? "transferred" :
write_test ? "written" : "read");
......@@ -1474,6 +1466,14 @@ skip_preparation:
print_size(1. * NSEC_PER_SEC * total_valid * size / time_sum);
printf("/s\n");
if (too_fast) {
print_int(too_fast);
printf(" too fast, ");
}
if (too_slow) {
print_int(too_slow);
printf(" too slow, ");
}
printf("total ");
print_int(request);
printf(" requests in ");
......
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