/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | Stats.java | 85 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()
|
D | ManualBenchmarkState.java | 324 for (int percentile : mStatsReportPercentiles) { in fillStatus() 325 status.putLong(key + "_percentile" + percentile + " (ns)", in fillStatus() 326 stats.getPercentile(percentile)); in fillStatus()
|
/frameworks/base/core/jni/ |
D | android_content_res_ResourceTimer.cpp | 39 jfieldID percentile; member 65 jintArray percentile = in NativeGetTimers() local 66 reinterpret_cast<jintArray>(env->GetObjectField(dst, gTimerOffsets.percentile)); in NativeGetTimers() 67 env->SetIntArrayRegion(percentile, 0, 1, &src.pvalues.p50.nominal); in NativeGetTimers() 68 env->SetIntArrayRegion(percentile, 1, 1, &src.pvalues.p90.nominal); in NativeGetTimers() 69 env->SetIntArrayRegion(percentile, 2, 1, &src.pvalues.p95.nominal); in NativeGetTimers() 70 env->SetIntArrayRegion(percentile, 3, 1, &src.pvalues.p99.nominal); in NativeGetTimers() 123 gTimerOffsets.percentile = GetFieldIDOrDie(env, timers, "percentile", "[I"); in register_android_content_res_ResourceTimer()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourceTimer.java | 102 int[] percentile; field in ResourceTimer.Timer 175 sTimers[i].percentile = new int[sConfig.maxBuckets]; in start() 254 sConfig.timers[i], timer.count, packedString(timer.percentile))); in publish() 259 timer.percentile[0], timer.percentile[1], in publish() 260 timer.percentile[2], timer.percentile[3], in publish() 306 packedString(t.percentile), in dumpTimers()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/ |
D | UiBenchmarkResult.java | 109 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | BigPictureStatsManager.kt | 99 val p90 = percentile(durations, 90.0) in <lambda>() 100 val p99 = percentile(durations, 99.0) in <lambda>() 113 private fun percentile(times: List<Int>, percent: Double): Int { in <lambda>() method
|
/frameworks/base/libs/hwui/ |
D | ProfileData.cpp | 145 uint32_t ProfileData::findPercentile(int percentile) const { in findPercentile() 146 int pos = percentile * mTotalFrameCount / 100; in findPercentile() 196 uint32_t ProfileData::findGPUPercentile(int percentile) const { in findGPUPercentile() 201 int pos = percentile * totalGPUFrameCount / 100; in findGPUPercentile()
|
D | ProfileData.h | 58 uint32_t findPercentile(int percentile) const; 59 uint32_t findGPUPercentile(int percentile) const;
|
/frameworks/base/libs/hwui/service/ |
D | GraphicsStatsService.cpp | 254 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/ |
D | RenderProxy.cpp | 318 uint32_t RenderProxy::frameTimePercentile(int percentile) { in frameTimePercentile() argument 321 return mRenderThread.globalProfileData()->findPercentile(percentile); in frameTimePercentile()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderCallsStats.java | 1130 double percentile) { in getHighestValues() argument 1140 if (runningSum > percentile * total) { in getHighestValues()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 23505 // Four percentile values. Units are in ns. A value of zero means the percentile could not be
|