Searched refs:systemBootTime (Results 1 – 3 of 3) sorted by relevance
/developtools/profiler/device/plugins/cpu_plugin/src/ |
D | cpu_data_plugin.cpp | 386 cpuTimeData.systemBootTime = cpuTimeData.systemUsageTime + (idle + iowait) * GetUserHz(); in GetSystemCpuTime() 420 cpuUsageInfo->set_prev_system_boot_time_ms(prevCpuTimeData_.systemBootTime); in WriteSystemCpuUsage() 422 cpuUsageInfo->set_system_boot_time_ms(cpuTimeData.systemBootTime); in WriteSystemCpuUsage() 427 … if ((protoConfig_.report_process_info() && prevCpuTimeData_.systemBootTime != 0) || isTest) { in WriteSystemCpuUsage() 430 static_cast<double>(cpuTimeData.systemBootTime - in WriteSystemCpuUsage() 431 prevCpuTimeData_.systemBootTime) * PERCENT; in WriteSystemCpuUsage() 434 static_cast<double>(cpuTimeData.systemBootTime - in WriteSystemCpuUsage() 435 prevCpuTimeData_.systemBootTime) * PERCENT; in WriteSystemCpuUsage() 438 static_cast<double>(cpuTimeData.systemBootTime - in WriteSystemCpuUsage() 439 prevCpuTimeData_.systemBootTime) * PERCENT; in WriteSystemCpuUsage() [all …]
|
/developtools/profiler/device/plugins/cpu_plugin/test/unittest/ |
D | cpu_data_plugin_unittest.cpp | 296 int64_t systemBootTime = 0; variable 299 GetSystemCpuTime(g_systemStat[0], Hz, systemCpuTime, systemBootTime); 308 EXPECT_EQ(cpuUsageInfo.system_boot_time_ms(), systemBootTime); 317 GetSystemCpuTime(g_systemStat[i], Hz, systemCpuTime, systemBootTime); 322 EXPECT_EQ(cpuCoreUsageInfo.system_boot_time_ms(), systemBootTime); 627 int64_t systemBootTime = 0; variable 628 GetSystemCpuTime(g_systemStat1[0], Hz, systemCpuTime, systemBootTime); 688 EXPECT_EQ(cpuUsageInfo1.system_boot_time_ms(), systemBootTime); 713 EXPECT_EQ(cpuUsageInfo1.prev_system_boot_time_ms(), systemBootTime); 715 EXPECT_EQ(cpuUsageInfo1.system_boot_time_ms(), systemBootTime);
|
/developtools/profiler/device/plugins/cpu_plugin/include/ |
D | cpu_data_plugin.h | 62 int64_t systemBootTime; member
|