/packages/services/Car/tools/cpu_perf/ |
D | perfetto_cpu_analysis.py | 74 def print(self, totalCpuCycles, perCoreTotalCycles, loadPercentile): argument 77 totalCpuLoad = float(self.getTotalCycles()) / totalCpuCycles * 100.0 105 def print(self, totalCpuCycles, perCoreTotalCycles, loadPercentile, showThreads=False): argument 107 totalCpuLoad = float(self.getTotalCycles()) / totalCpuCycles * 100.0 122 t.print(totalCpuCycles, perCoreTotalCycles, loadPercentile) 173 totalCpuCycles = 0 188 totalCpuCycles += perCoreCpuCycles[l.coreId] 204 t.print(totalCpuCycles, perCoreCpuCycles, loadPercentile) 215 p.print(totalCpuCycles, perCoreCpuCycles, loadPercentile, showThreads=True) 219 p.print(totalCpuCycles, perCoreCpuCycles, loadPercentile)
|
/packages/services/Car/cpp/watchdog/stable_server/src/ |
D | UidProcStatsCollector.cpp | 323 comm.c_str(), startTimeMillis, cpuTimeMillis, totalCpuCycles, totalMajorFaults, in toString() 465 deltaProcessStats.totalCpuCycles = 0; in collect() 474 deltaProcessStats.totalCpuCycles = in collect() 475 addUint64(deltaProcessStats.totalCpuCycles, deltaThreadCpuCycles); in collect() 480 addUint64(deltaUidStats.cpuCycles, deltaProcessStats.totalCpuCycles); in collect() 519 uidProcStats->cpuCycles = addUint64(uidProcStats->cpuCycles, processStats.totalCpuCycles); in readUidProcStatsLocked() 573 .totalCpuCycles = 0, in readProcessStatsLocked() 651 processStats.totalCpuCycles = addUint64(processStats.totalCpuCycles, *tidCpuCycles); in readProcessStatsLocked()
|
D | PerformanceProfiler.cpp | 256 .cpuNonIdleCycles = static_cast<int64_t>(systemStats.totalCpuCycles), in constructSystemSummaryUsageStats() 510 processStats.totalCpuCycles), in cacheTopNProcessCpuStats() 614 StringAppendF(&buffer, "\tTotal CPU cycles: %" PRIu64 "\n", totalCpuCycles); in toString() 843 static_cast<int>(record.systemSummaryStats.totalCpuCycles)); in dumpStatsRecordsProto() 1163 record.systemSummaryStats.totalCpuCycles = record.userPackageSummaryStats.totalCpuCycles; in processLocked() 1210 userPackageSummaryStats->totalCpuCycles += curUidStats.procStats.cpuCycles; in processUidStatsLocked()
|
D | PerformanceProfiler.h | 174 uint64_t totalCpuCycles = 0; member 189 uint64_t totalCpuCycles = 0; member
|
D | UidProcStatsCollector.h | 70 uint64_t totalCpuCycles = 0; member
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | UidProcStatsCollector.cpp | 323 comm.c_str(), startTimeMillis, cpuTimeMillis, totalCpuCycles, totalMajorFaults, in toString() 465 deltaProcessStats.totalCpuCycles = 0; in collect() 474 deltaProcessStats.totalCpuCycles = in collect() 475 addUint64(deltaProcessStats.totalCpuCycles, deltaThreadCpuCycles); in collect() 480 addUint64(deltaUidStats.cpuCycles, deltaProcessStats.totalCpuCycles); in collect() 519 uidProcStats->cpuCycles = addUint64(uidProcStats->cpuCycles, processStats.totalCpuCycles); in readUidProcStatsLocked() 573 .totalCpuCycles = 0, in readProcessStatsLocked() 651 processStats.totalCpuCycles = addUint64(processStats.totalCpuCycles, *tidCpuCycles); in readProcessStatsLocked()
|
D | PerformanceProfiler.cpp | 256 .cpuNonIdleCycles = static_cast<int64_t>(systemStats.totalCpuCycles), in constructSystemSummaryUsageStats() 510 processStats.totalCpuCycles), in cacheTopNProcessCpuStats() 614 StringAppendF(&buffer, "\tTotal CPU cycles: %" PRIu64 "\n", totalCpuCycles); in toString() 843 static_cast<int>(record.systemSummaryStats.totalCpuCycles)); in dumpStatsRecordsProto() 1163 record.systemSummaryStats.totalCpuCycles = record.userPackageSummaryStats.totalCpuCycles; in processLocked() 1210 userPackageSummaryStats->totalCpuCycles += curUidStats.procStats.cpuCycles; in processUidStatsLocked()
|
D | PerformanceProfiler.h | 174 uint64_t totalCpuCycles = 0; member 189 uint64_t totalCpuCycles = 0; member
|
D | UidProcStatsCollector.h | 70 uint64_t totalCpuCycles = 0; member
|
/packages/services/Car/cpp/watchdog/stable_server/tests/ |
D | UidProcStatsCollectorTestUtils.h | 38 ::testing::Value(actual.totalCpuCycles, ::testing::Eq(expected.totalCpuCycles)) &&
|
D | PerformanceProfilerTest.cpp | 297 &UserPackageSummaryStats::totalCpuCycles, 298 Eq(expected.totalCpuCycles)), 322 Field("totalCpuCycles", &SystemSummaryStats::totalCpuCycles, 323 Eq(expected.totalCpuCycles)), 629 .totalCpuCycles = 64'000, in sampleUidStats() 996 systemSummaryStats.totalCpuCycles), 1506 .totalCpuCycles = 3'500, in TEST_F() 1521 nextSystemSummaryStats.totalCpuCycles = 3'500; in TEST_F() 1735 .totalCpuCycles = 64'000, in TEST_F() 1814 .totalCpuCycles = 64'000, in TEST_F()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | UidProcStatsCollectorTestUtils.h | 38 ::testing::Value(actual.totalCpuCycles, ::testing::Eq(expected.totalCpuCycles)) &&
|
D | PerformanceProfilerTest.cpp | 297 &UserPackageSummaryStats::totalCpuCycles, 298 Eq(expected.totalCpuCycles)), 322 Field("totalCpuCycles", &SystemSummaryStats::totalCpuCycles, 323 Eq(expected.totalCpuCycles)), 629 .totalCpuCycles = 64'000, in sampleUidStats() 996 systemSummaryStats.totalCpuCycles), 1506 .totalCpuCycles = 3'500, in TEST_F() 1521 nextSystemSummaryStats.totalCpuCycles = 3'500; in TEST_F() 1735 .totalCpuCycles = 64'000, in TEST_F() 1814 .totalCpuCycles = 64'000, in TEST_F()
|