calculus is a lost art.
authorRobin Gareus <robin@gareus.org>
Thu, 22 Jan 2015 17:16:07 +0000 (18:16 +0100)
committerRobin Gareus <robin@gareus.org>
Thu, 22 Jan 2015 17:17:01 +0000 (18:17 +0100)
tools/readtest.c

index e6c565ff557e231e72e6abf649f8dd7b2442c026..aebc53718c4b0881fce16c0dbf0d31b07e392582 100644 (file)
@@ -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;