Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DLongStatsCollector.java46 double median; in getStats() local
56 median = (size % 2 == 0) ? (buffer[midPoint - 1] + buffer[midPoint]) / 2 : buffer[midPoint]; in getStats()
58 return new Stats(mAllValues.size(), mMin, mMax, median); in getStats()
74 private Stats(int samples, long min, long max, double median) { in Stats() argument
78 mMedian = median; in Stats()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DPrecomputedTextMemoryUsageTest.java55 private int median(int[] values) { in median() method in PrecomputedTextMemoryUsageTest
76 reportMemoryUsage(median(memories), "MemoryUsage_Latin_NoHyphenation"); in testMemoryUsage_Latin_NoHyphenation()
94 reportMemoryUsage(median(memories), "MemoryUsage_Latin_Hyphenation"); in testMemoryUsage_Latin_Hyphenation()
112 reportMemoryUsage(median(memories), "MemoryUsage_CJK_NoHyphenation"); in testMemoryUsage_CJK_NoHyphenation()
130 reportMemoryUsage(median(memories), "MemoryUsage_CJK_Hyphenation"); in testMemoryUsage_CJK_Hyphenation()
149 reportMemoryUsage(median(memories), "MemoryUsage_Arabic_NoHyphenation"); in testMemoryUsage_Arabic_NoHyphenation()
168 reportMemoryUsage(median(memories), "MemoryUsage_Arabic_Hyphenation"); in testMemoryUsage_Arabic_Hyphenation()
185 reportMemoryUsage(median(memories), "MemoryUsage_Emoji_NoHyphenation"); in testMemoryUsage_Emoji()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DBenchmarkState.java197 private long median() { in median() method in BenchmarkState
221 sb.append("median=").append(median()).append("ns, "); in summaryLine()
237 status.putLong(key + "_median", median()); in sendFullStatusReport()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkResults.java40 stats.putDouble("Median (ms)", median()); in getStatsToLog()
58 private double median() { in median() method in BenchmarkResults
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java411 Measurement median = new Measurement(medianSurfaceCnt, in measureCompositionScore() local
414 if (median.mFPS >= mTargetFPS) { in measureCompositionScore()
415 return measureCompositionScore(median, fail, pixelFormat); in measureCompositionScore()
417 return measureCompositionScore(ok, median, pixelFormat); in measureCompositionScore()
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py337 def median(data): function