Searched refs:mbps (Results 1 – 3 of 3) sorted by relevance
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | RandomRWTest.java | 70 double mbps = FileUtil.doRandomReadTest(getContext(), DIR_RANDOM_RD, report, fileSize, in testRandomRead() local 74 assertTrue("measured " + mbps + " is less than target (" + MIN_READ_MBPS + " MBPS)", in testRandomRead() 75 mbps >= MIN_READ_MBPS); in testRandomRead() 91 double mbps = -1; in testRandomUpdate() local 94 mbps = FileUtil.doRandomWriteTest(getContext(), DIR_RANDOM_WR, report, fileSize, in testRandomUpdate() 100 assertTrue("measured " + mbps + " is less than target (" + MIN_WRITE_MBPS + " MBPS)", in testRandomUpdate() 101 mbps >= MIN_WRITE_MBPS); in testRandomUpdate()
|
D | SequentialRWTest.java | 97 double[] mbps = Stat.calcRatePerSecArray((double)BUFFER_SIZE / 1024 / 1024, times); in testSingleSequentialWrite() local 98 report.addValues("write_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in testSingleSequentialWrite() 100 Stat.StatResult stat = Stat.getStat(mbps); in testSingleSequentialWrite() 158 double[] mbps = Stat.calcRatePerSecArray((double)fileSize / 1024 / 1024, times); in testSingleSequentialRead() local 159 report.addValues("read_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in testSingleSequentialRead() 160 Stat.StatResult stat = Stat.getStat(mbps); in testSingleSequentialRead()
|
D | FileUtil.java | 307 double[] mbps = Stat.calcRatePerSecArray((double)fileSize / runsInOneGo / 1024 / 1024, in doRandomReadTest() local 309 report.addValues("read_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in doRandomReadTest() 312 Stat.StatResult stat = Stat.getStat(mbps); in doRandomReadTest() 362 double[] mbps = Stat.calcRatePerSecArray((double)fileSize / runsInOneGo / 1024 / 1024, in doRandomWriteTest() local 364 report.addValues("write_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in doRandomWriteTest() 366 Stat.StatResult stat = Stat.getStat(mbps); in doRandomWriteTest() 406 double[] mbps = Stat.calcRatePerSecArray((double)bufferSize / 1024 / 1024, in doSequentialUpdateTest() local 408 report.addValues("throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in doSequentialUpdateTest() 410 for (int j = 0; j < mbps.length; j++) { in doSequentialUpdateTest() 411 mbpsAll[offset + j] = mbps[j]; in doSequentialUpdateTest()
|