summaryrefslogtreecommitdiff
path: root/tools/readtest.c
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-03-12 10:06:02 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2015-03-12 10:06:15 -0500
commit523509c3891952b38aa92ab6edd45993b759da48 (patch)
tree5b21d4cb5ccd7008a82ba4e6bde6aa543f5d2ab9 /tools/readtest.c
parent0096aa5391d8a5774f55ab6f3fd38b1367fec8ff (diff)
add seek info to readtest
Diffstat (limited to 'tools/readtest.c')
-rw-r--r--tools/readtest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/readtest.c b/tools/readtest.c
index 95907f530e..aa98b76f38 100644
--- a/tools/readtest.c
+++ b/tools/readtest.c
@@ -259,6 +259,7 @@ out:
printf ("# Min: %.4f MB/sec Avg: %.4f MB/sec || Max: %.3f sec \n", min_throughput, bandwidth, max_elapsed/1000000.0);
printf ("# Max Track count: %d @ 48000SPS\n", (int) floor(1048576.0 * bandwidth / (4 * 48000.)));
printf ("# Sus Track count: %d @ 48000SPS\n", (int) floor(1048576.0 * min_throughput / (4 * 48000.)));
+ printf ("# seeks: %llu: bytes: %llu total_time: %f\n", cnt * nfiles, (nfiles * _read), total_time/1000000.0);
printf ("%d %.4f %.4f %.4f %.5f\n", block_size, min_throughput, bandwidth, max_elapsed/1000000.0, stddev/1000000.0);
}