Lines Matching refs:totalTime
492 long totalTime = 0;
517 totalTime += time;
521 if (totalTime != 0 && pw != null) {
524 TimeUtils.formatDuration(totalTime, pw);
527 return totalTime;
586 data.totalTime = 0;
594 data.totalTime += proc.getDuration(bucket, now);
637 long totalTime = 0;
641 totalTime += proc.mState.getLong(val, 0);
643 totalTime += now - proc.mStartTime;
652 totalTime += proc.getDuration(bucket, now);
656 proc.mTmpTotalTime = totalTime;
657 return totalTime;
672 data.totalTime = 0;
703 data.totalTime += memTime;
820 long totalTime = 0;
847 totalTime += time;
852 if (totalTime != 0) {
861 TimeUtils.formatDuration(totalTime, pw);
1036 long totalTime = 0;
1045 totalTime += proc.getDuration(bucket, now);
1050 pw.print(totalTime);
1078 long now, long totalTime, boolean full) {
1082 double percentage = (double) totals.totalTime / (double) totalTime * 100;
1091 totals.print(pw, totalTime, full);
1100 boolean inclUidVers, long now, long totalTime) {
1112 procStates, now, totalTime, true);
1114 new int[] { STATE_PERSISTENT }, now, totalTime, true);
1116 new int[] {STATE_TOP}, now, totalTime, true);
1118 new int[] { STATE_IMPORTANT_FOREGROUND }, now, totalTime, true);
1120 new int[] {STATE_IMPORTANT_BACKGROUND}, now, totalTime, true);
1122 new int[] {STATE_BACKUP}, now, totalTime, true);
1124 new int[] {STATE_HEAVY_WEIGHT}, now, totalTime, true);
1126 new int[] {STATE_SERVICE}, now, totalTime, true);
1128 new int[] {STATE_SERVICE_RESTARTING}, now, totalTime, true);
1130 new int[] {STATE_RECEIVER}, now, totalTime, true);
1132 new int[] {STATE_HOME}, now, totalTime, true);
1134 new int[] {STATE_LAST_ACTIVITY}, now, totalTime, true);
1137 STATE_CACHED_EMPTY}, now, totalTime, true);
2162 long totalTime = dumpSingleTime(null, null, mMemFactorDurations, mMemFactor,
2248 NON_CACHED_PROC_STATES, false, now, totalTime);
2270 svc.mRunStartTime, now, totalTime, !dumpSummary || dumpAll);
2273 svc.mStartedStartTime, now, totalTime, !dumpSummary || dumpAll);
2276 svc.mBoundStartTime, now, totalTime, !dumpSummary || dumpAll);
2279 svc.mExecStartTime, now, totalTime, !dumpSummary || dumpAll);
2366 long totalTime = 0;
2389 totalTime += time;
2393 if (totalTime != 0 && pw != null) {
2396 TimeUtils.formatDuration(totalTime, pw);
2399 return totalTime;
2404 int count, int serviceType, int state, long startTime, long now, long totalTime,
2418 printPercent(pw, (double)myTime/(double)totalTime);
2425 long totalTime = dumpSingleTime(null, null, mMemFactorDurations, mMemFactor,
2428 ALL_PROC_STATES, NON_CACHED_PROC_STATES, now, totalTime, reqPackage, activeOnly);
2434 long totalTime, long curTotalMem, int samples) {
2436 long mem = (long)(memWeight * 1024 / totalTime);
2460 totalMem.totalTime, totalPss, totalMem.sysMemSamples);
2462 totalMem.totalTime, totalPss, totalMem.sysMemSamples);
2467 totalMem.processStateWeight[i], totalMem.totalTime, totalPss,
2472 totalMem.totalTime, totalPss, totalMem.sysMemSamples);
2474 totalMem.totalTime, totalPss, totalMem.sysMemSamples);
2476 totalMem.totalTime, totalPss, totalMem.sysMemSamples);
2481 totalMem.processStateWeight[STATE_SERVICE_RESTARTING], totalMem.totalTime, totalPss,
2514 int[] sortProcStates, long now, long totalTime, String reqPackage, boolean activeOnly) {
2523 sortProcStates, true, now, totalTime);
2772 pw.print(totalMem.totalTime);
3762 public long totalTime;
3778 if (totalTime > overallTime) {
3781 totalTime / (double) overallTime);
3813 public long totalTime;