Home
last modified time | relevance | path

Searched refs:mSampleCount (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DPerformanceTestResult.java29 private int mSampleCount = 0; field in PerformanceTestResult
50 if (mSampleCount == PerformanceTestBase.TEST_ITERATION_LIMIT) { in addMeasurement()
53 mSamples[mSampleCount++] = timeInNs / PerformanceTestBase.MS_PER_NS; in addMeasurement()
57 return mSampleCount; in getSampleCount()
62 for (int i = 0; i < mSampleCount; ++i) { in getTotalTime()
70 for (int i = 0; i < mSampleCount; ++i) { in getTotalTimeSq()
81 Arrays.sort(mSamples, 0, mSampleCount); in getPercentile()
82 return mSamples[(int) Math.ceil(mSampleCount * v) - 1]; in getPercentile()
86 return getTotalTime() / mSampleCount; in getMean()
91 return Math.sqrt(mSampleCount * getTotalTimeSq() - totalTime * totalTime) in getSampleStdDev()
[all …]