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.java87 private static long getPercentile(List<Long> values, int percentile) { in getPercentile() argument
88 if (percentile < 0 || percentile > 100) { in getPercentile()
90 "invalid percentile " + percentile + ", should be 0-100"); in getPercentile()
92 int idx = (values.size() - 1) * percentile / 100; in getPercentile()
/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.cpp122 uint32_t ProfileData::findPercentile(int percentile) const { in findPercentile()
123 int pos = percentile * mTotalFrameCount / 100; in findPercentile()
DProfileData.h56 uint32_t findPercentile(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/renderthread/
DRenderProxy.cpp239 uint32_t RenderProxy::frameTimePercentile(int percentile) { in frameTimePercentile() argument
241 return mRenderThread.globalProfileData()->findPercentile(percentile); in frameTimePercentile()
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp217 static int32_t findPercentile(protos::GraphicsStatsProto* proto, int percentile) { in findPercentile() argument
218 int32_t pos = percentile * proto->summary().total_frames() / 100; in findPercentile()
/frameworks/base/core/java/com/android/internal/os/
DBinderCallsStats.java772 double percentile) { in getHighestValues() argument
782 if (runningSum > percentile * total) { in getHighestValues()