Home
last modified time | relevance | path

Searched refs:percentile (Results 1 – 8 of 8) 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 + " (ns)", in fillStatus()
326 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.cpp143 uint32_t ProfileData::findPercentile(int percentile) const { in findPercentile()
144 int pos = percentile * mTotalFrameCount / 100; in findPercentile()
194 uint32_t ProfileData::findGPUPercentile(int percentile) const { in findGPUPercentile()
199 int pos = percentile * totalGPUFrameCount / 100; in findGPUPercentile()
DProfileData.h58 uint32_t findPercentile(int percentile) const;
59 uint32_t findGPUPercentile(int percentile) const;
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp254 static int32_t findPercentile(protos::GraphicsStatsProto* proto, int percentile) { in findPercentile() argument
255 int32_t pos = percentile * proto->summary().total_frames() / 100; in findPercentile()
266 static int32_t findGPUPercentile(protos::GraphicsStatsProto* proto, int percentile) { in findGPUPercentile() argument
271 int32_t pos = percentile * totalGPUFrameCount / 100; in findGPUPercentile()
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp264 uint32_t RenderProxy::frameTimePercentile(int percentile) { in frameTimePercentile() argument
267 return mRenderThread.globalProfileData()->findPercentile(percentile); in frameTimePercentile()
/frameworks/base/core/java/com/android/internal/os/
DBinderCallsStats.java1130 double percentile) { in getHighestValues() argument
1140 if (runningSum > percentile * total) { in getHighestValues()