/frameworks/base/core/java/com/android/internal/os/ |
D | MediaPowerCalculator.java | 45 final long totalTime = audioTimer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000; in calculateApp() local 46 app.audioTimeMs = totalTime; in calculateApp() 47 app.audioPowerMah = (totalTime * mAudioAveragePowerMa) / MS_IN_HR; in calculateApp() 56 final long totalTime = videoTimer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000; in calculateApp() local 57 app.videoTimeMs = totalTime; in calculateApp() 58 app.videoPowerMah = (totalTime * mVideoAveragePowerMa) / MS_IN_HR; in calculateApp()
|
D | CameraPowerCalculator.java | 40 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000; in calculateApp() local 41 app.cameraTimeMs = totalTime; in calculateApp() 42 app.cameraPowerMah = (totalTime * mCameraPowerOnAvg) / (1000*60*60); in calculateApp()
|
D | FlashlightPowerCalculator.java | 38 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000; in calculateApp() local 39 app.flashlightTimeMs = totalTime; in calculateApp() 40 app.flashlightPowerMah = (totalTime * mFlashlightPowerOnAvg) / (1000*60*60); in calculateApp()
|
D | KernelWakelockReader.java | 131 long totalTime; in parseProcWakelocks() local 170 totalTime = wlData[2] * 1000; in parseProcWakelocks() 173 totalTime = (wlData[2] + 500) / 1000; in parseProcWakelocks() 178 staleStats.put(name, new KernelWakelockStats.Entry(count, totalTime, in parseProcWakelocks() 184 kwlStats.mTotalTime += totalTime; in parseProcWakelocks() 187 kwlStats.mTotalTime = totalTime; in parseProcWakelocks()
|
D | SensorPowerCalculator.java | 76 long totalTime = 0; in getAverageGpsPower() local 80 totalTime += timePerLevel; in getAverageGpsPower() 84 if (totalTime != 0) { in getAverageGpsPower() 85 averagePower = totalPower / totalTime; in getAverageGpsPower()
|
D | KernelWakelockStats.java | 29 Entry(int count, long totalTime, int version) { in Entry() argument 31 mTotalTime = totalTime; in Entry()
|
D | ProcessCpuTracker.java | 787 final int totalTime = mRelUserTime + mRelSystemTime + mRelIoWaitTime 790 if (DEBUG) Slog.i(TAG, "totalTime " + totalTime + " over sample time " 811 printProcessCPU(pw, "", -1, "TOTAL", totalTime, mRelUserTime, mRelSystemTime, 832 int totalTime, int user, int system, int iowait, int irq, int softIrq, 835 if (totalTime == 0) totalTime = 1; 836 printRatio(pw, user+system+iowait+irq+softIrq, totalTime); 844 printRatio(pw, user, totalTime); 846 printRatio(pw, system, totalTime); 850 printRatio(pw, iowait, totalTime); 855 printRatio(pw, irq, totalTime); [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | OccupancyTracker.h | 43 : totalTime(0), in Segment() 50 : totalTime(_totalTime), in Segment() 59 nsecs_t totalTime; member 82 totalTime = 0; in clear() 87 nsecs_t totalTime; member
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BlasBenchmark.java | 93 float totalTime; field in BlasBenchmark.Processor.Result 102 return r.totalTime / r.iterations * 1000.f; in getInstrumentationResult() 118 r.totalTime += (t2 - t) / 1000.f; in runBenchmarkLoop() 120 } while (r.totalTime < minTime); in runBenchmarkLoop() 125 r.totalTime += (t2 - t) / 1000.f; in runBenchmarkLoop() 148 Log.v("rs", "Test: time=" + r.totalTime +"s, iterations=" + r.iterations + in getBenchmark() 149 ", avg=" + r.totalTime / r.iterations * 1000.f + " " + r.testInfo); in getBenchmark() 195 mTestResults[ct] = r.totalTime / r.iterations * 1000.f; in run()
|
/frameworks/native/libs/gui/ |
D | OccupancyTracker.cpp | 30 status_t result = parcel->writeInt64(totalTime); in writeToParcel() 46 status_t result = parcel->readInt64(&totalTime); in readFromParcel() 70 mPendingSegment.totalTime += delta; in registerOccupancyChange() 104 mPendingSegment.totalTime; in recordPendingSegment() 108 mSegmentHistory.push_front({mPendingSegment.totalTime, in recordPendingSegment()
|
/frameworks/base/core/java/android/app/ |
D | WaitResult.java | 69 public long totalTime; field in WaitResult 85 dest.writeLong(totalTime); in writeToParcel() 106 totalTime = source.readLong(); in WaitResult() 115 pw.println(prefix + " totalTime=" + totalTime); in dump()
|
/frameworks/native/opengl/tests/angeles/ |
D | app-linux.cpp | 204 double totalTime = timeTemp.tv_usec/1000000.0 + timeTemp.tv_sec; in main() local 224 totalTime = (timeTemp.tv_usec/1000000.0 + timeTemp.tv_sec) - totalTime; in main() 226 totalTime, frameCount, frameCount/totalTime); in main()
|
/frameworks/base/core/java/android/animation/ |
D | TimeAnimator.java | 42 long totalTime = currentTime - mStartTime; in animateBasedOnTime() local 45 mListener.onTimeUpdate(this, totalTime, deltaTime); in animateBasedOnTime() 96 void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime); in onTimeUpdate() argument
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessState.java | 813 long totalTime = 0; in computeProcessTimeLocked() local 819 totalTime += getDuration(bucket, now); in computeProcessTimeLocked() 823 mTmpTotalTime = totalTime; in computeProcessTimeLocked() 824 return totalTime; in computeProcessTimeLocked() 829 long now, long totalTime) { in dumpSummary() argument 842 screenStates, memStates, procStates, now, totalTime, true); in dumpSummary() 844 screenStates, memStates, new int[] { STATE_PERSISTENT }, now, totalTime, true); in dumpSummary() 846 screenStates, memStates, new int[] {STATE_TOP}, now, totalTime, true); in dumpSummary() 848 screenStates, memStates, new int[] { STATE_IMPORTANT_FOREGROUND }, now, totalTime, in dumpSummary() 851 screenStates, memStates, new int[] {STATE_IMPORTANT_BACKGROUND}, now, totalTime, in dumpSummary() [all …]
|
D | ServiceState.java | 402 long now, long totalTime, boolean dumpSummary, boolean dumpAll) { in dumpStats() argument 405 mRunStartTime, now, totalTime, !dumpSummary || dumpAll); in dumpStats() 408 mStartedStartTime, now, totalTime, !dumpSummary || dumpAll); in dumpStats() 411 mForegroundStartTime, now, totalTime, !dumpSummary || dumpAll); in dumpStats() 414 mBoundStartTime, now, totalTime, !dumpSummary || dumpAll); in dumpStats() 417 mExecStartTime, now, totalTime, !dumpSummary || dumpAll); in dumpStats() 431 int count, int serviceType, int state, long startTime, long now, long totalTime, in dumpStats() argument 448 DumpUtils.printPercent(pw, (double)myTime/(double)totalTime); in dumpStats() 464 long totalTime = 0; 489 totalTime += time; [all …]
|
D | AssociationState.java | 475 long now, long totalTime, String reqPackage, boolean dumpDetails, boolean dumpAll) { in dumpStats() argument 514 DumpUtils.printPercent(pw, (double)duration/(double)totalTime); in dumpStats() 536 dumpTime(pw, prefixInner, src, totalTime, now, dumpDetails, dumpAll); in dumpStats() 539 dumpActiveDurationSummary(pw, src, totalTime, now, dumpAll); in dumpStats() 560 void dumpActiveDurationSummary(PrintWriter pw, final SourceState src, long totalTime, in dumpActiveDurationSummary() argument 562 long duration = dumpTime(null, null, src, totalTime, now, false, false); in dumpActiveDurationSummary() 574 DumpUtils.printPercent(pw, (double) duration / (double) totalTime); in dumpActiveDurationSummary() 583 long totalTime = 0; in dumpTime() local 619 totalTime += time; in dumpTime() 622 if (totalTime != 0 && pw != null) { in dumpTime() [all …]
|
D | DumpUtils.java | 304 long totalTime = 0; in dumpSingleTime() local 329 totalTime += time; in dumpSingleTime() 333 if (totalTime != 0 && pw != null) { in dumpSingleTime() 336 TimeUtils.formatDuration(totalTime, pw); in dumpSingleTime() 339 return totalTime; in dumpSingleTime() 392 long now, long totalTime) { in dumpProcessSummaryLocked() argument 396 totalTime); in dumpProcessSummaryLocked()
|
D | ProcessStats.java | 400 data.totalTime = 0; in computeTotalMemoryUse() 425 data.totalTime += memTime; in computeTotalMemoryUse() 1462 long totalTime = DumpUtils.dumpSingleTime(null, null, mMemFactorDurations, mMemFactor, in dumpLocked() local 1571 now, totalTime); in dumpLocked() 1596 now, totalTime, dumpSummary, dumpAll); in dumpLocked() 1623 now, totalTime, onlyAssociations ? reqPackage : null, in dumpLocked() 1730 asc.dumpActiveDurationSummary(pw, src, totalTime, now, dumpAll); in dumpLocked() 1763 long totalTime = DumpUtils.dumpSingleTime(null, null, mMemFactorDurations, mMemFactor, in dumpSummaryLocked() local 1766 ALL_PROC_STATES, NON_CACHED_PROC_STATES, now, totalTime, reqPackage, activeOnly); in dumpSummaryLocked() 1788 long totalTime, long curTotalMem, int samples) { in printMemoryCategory() argument [all …]
|
/frameworks/base/core/java/android/os/ |
D | CpuUsageInfo.java | 38 public CpuUsageInfo(long activeTime, long totalTime) { in CpuUsageInfo() argument 40 mTotal = totalTime; in CpuUsageInfo()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateStats.h | 81 std::unordered_map<std::string, int64_t> totalTime; in getTotalTimes() local 90 totalTime[config->name] = totalTimeForConfig; in getTotalTimes() 92 return totalTime; in getTotalTimes()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsImplTest.java | 327 long totalTime = u.getWifiMulticastTime(currentTimeMs*1000, in testMulticastWakelockAcqRel() local 330 (releaseTimeMs - acquireTimeMs) * 1000, totalTime); in testMulticastWakelockAcqRel() 349 long totalTime = u.getWifiMulticastTime(currentTimeMs*1000, in testMulticastWakelockAcqNoRel() local 352 (currentTimeMs - acquireTimeMs) * 1000, totalTime); in testMulticastWakelockAcqNoRel() 379 long totalTime = u.getWifiMulticastTime(currentTimeMs*1000, in testMulticastWakelockAcqAcqRelRel() local 382 (releaseTimeMs_2 - acquireTimeMs_1) * 1000, totalTime); in testMulticastWakelockAcqAcqRelRel() 409 long totalTime = u.getWifiMulticastTime(currentTimeMs*1000, in testMulticastWakelockAcqRelAcqRel() local 413 * 1000, totalTime); in testMulticastWakelockAcqRelAcqRel()
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | ImageProcessingActivity2.java | 278 float totalTime; field in ImageProcessingActivity2.Processor.Result 306 mTest.animateBars(r.totalTime); in runBenchmarkLoop() 338 r.totalTime = (t2 - t) / 1000.f; in runBenchmarkLoop() 339 } while (r.totalTime < minTime); in runBenchmarkLoop() 343 r.totalTime = (t2 - t) / 1000.f; in runBenchmarkLoop() 372 Log.v("rs", "Test: time=" + r.totalTime +"s, frames=" + r.iterations + in getBenchmark() 373 ", avg=" + r.totalTime / r.iterations * 1000.f); in getBenchmark() 376 return r.totalTime / r.iterations * 1000.f; in getBenchmark()
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/ |
D | TimeStatsHelper.cpp | 51 int64_t TimeStatsHelper::Histogram::totalTime() const { in totalTime() function in android::surfaceflinger::TimeStatsHelper::Histogram 111 StringAppendF(&result, "totalP2PTime = %" PRId64 " ms\n", presentToPresent.totalTime()); in toString()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyHistogram.java | 218 long totalTime = ((long)mAverageTimeMs) * mSampleCount + time; in addTimeTaken() local 219 mAverageTimeMs = (int)(totalTime/++mSampleCount); in addTimeTaken()
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/ |
D | TimeStatsHelper.h | 38 int64_t totalTime() const;
|