Commit 9ea24462 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

ioping: extended raw statistics

Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
parent f11967da
......@@ -134,6 +134,30 @@ Error during preparation stage.
.TP
.B 3
Error during runtime.
.SH RAW STATISTICS
.B ioping -p 100 -c 200 -i 0 -q .
.YS
100 26694 3746 15344272 188 267 1923 228
.YS
100 24165 4138 16950134 190 242 2348 214
.YS
(1) (2) (3) (4) (5) (6) (7) (8)
.TP
(1) numer of requests
.YS
(2) serving time (usec)
.YS
(3) requests per second (iops)
.YS
(4) transfer speed (bytes/sec)
.YS
(5) minimal request time (usec)
.YS
(6) average request time (usec)
.YS
(7) maximum request time (usec)
.YS
(8) request time standard deviation (usec)
.SH EXAMPLES
.TP
.B ioping .
......
......@@ -672,7 +672,10 @@ int main (int argc, char **argv)
part_avg = part_sum / period;
part_mdev = sqrt(part_sum2 / period - part_avg * part_avg);
printf("%lld %.0f %lld %.0f\n",
printf("%d %.0f %.0f %.0f %lld %.0f %lld %.0f\n",
period, part_sum,
1000000. * period / part_sum,
1000000. * period * size / part_sum,
part_min, part_avg,
part_max, part_mdev);
......
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