Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DStats.java85 public long getPercentile(@IntRange(from = 0, to = 100) int percentile) { in getPercentile()
86 return getPercentile(mValues, percentile); in getPercentile()
89 private static long getPercentile(List<Long> values, int percentile) { in getPercentile() argument
90 if (percentile < 0 || percentile > 100) { in getPercentile()
92 "invalid percentile " + percentile + ", should be 0-100"); in getPercentile()
94 int idx = (values.size() - 1) * percentile / 100; in getPercentile()
DManualBenchmarkState.java324 for (int percentile : mStatsReportPercentiles) { in fillStatus()
325 status.putLong(key + "_percentile" + percentile, stats.getPercentile(percentile)); in fillStatus()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/
DUiBenchmarkResult.java109 public double getPercentile(int id, int percentile) { in getPercentile() argument
110 if (percentile > 100) percentile = 100; in getPercentile()
111 if (percentile < 0) percentile = 0; in getPercentile()
114 return mStoredStatistics[metricPos].getPercentile(percentile); in getPercentile()
/frameworks/base/libs/hwui/
DProfileData.cpp136 uint32_t ProfileData::findPercentile(int percentile) const { in findPercentile()
137 int pos = percentile * mTotalFrameCount / 100; in findPercentile()
186 uint32_t ProfileData::findGPUPercentile(int percentile) const { in findGPUPercentile()
191 int pos = percentile * totalGPUFrameCount / 100; in findGPUPercentile()
DProfileData.h57 uint32_t findPercentile(int percentile) const;
58 uint32_t findGPUPercentile(int percentile) const;
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp71 int percentile; in outputBenchmarkReport() member
100 durationInS = proxy->frameTimePercentile(ri.percentile) / 1000.0; in outputBenchmarkReport()
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp255 static int32_t findPercentile(protos::GraphicsStatsProto* proto, int percentile) { in findPercentile() argument
256 int32_t pos = percentile * proto->summary().total_frames() / 100; in findPercentile()
267 static int32_t findGPUPercentile(protos::GraphicsStatsProto* proto, int percentile) { in findGPUPercentile() argument
272 int32_t pos = percentile * totalGPUFrameCount / 100; in findGPUPercentile()
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp236 uint32_t RenderProxy::frameTimePercentile(int percentile) { in frameTimePercentile() argument
238 return mRenderThread.globalProfileData()->findPercentile(percentile); in frameTimePercentile()
/frameworks/base/core/java/com/android/internal/os/
DBinderCallsStats.java772 double percentile) { in getHighestValues() argument
782 if (runningSum > percentile * total) { in getHighestValues()