projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
744ca23
)
calculus is a lost art.
author
Robin Gareus
<robin@gareus.org>
Thu, 22 Jan 2015 17:16:07 +0000
(18:16 +0100)
committer
Robin Gareus
<robin@gareus.org>
Thu, 22 Jan 2015 17:17:01 +0000
(18:17 +0100)
tools/readtest.c
patch
|
blob
|
history
diff --git
a/tools/readtest.c
b/tools/readtest.c
index e6c565ff557e231e72e6abf649f8dd7b2442c026..aebc53718c4b0881fce16c0dbf0d31b07e392582 100644
(file)
--- a/
tools/readtest.c
+++ b/
tools/readtest.c
@@
-177,6
+177,7
@@
out:
double min_throughput = ((nfiles * block_size)/1048576.0) / (max_elapsed/1000000.0);
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.)));
}
return 0;