Home
last modified time | relevance | path

Searched refs:Hz (Results 1 - 2 of 2) sorted by relevance

/developtools/profiler/device/plugins/cpu_plugin/test/unittest/
H A Dcpu_data_plugin_unittest.cpp225 void GetSystemCpuTime(TestSystemStat& stat, int64_t Hz, int64_t& usageTime, int64_t& time) in GetSystemCpuTime() argument
227 usageTime = (stat.user + stat.nice + stat.system + stat.irq + stat.softirq + stat.steal) * Hz; in GetSystemCpuTime()
228 time = usageTime + (stat.idle + stat.iowait) * Hz; in GetSystemCpuTime()
231 void GetCpuUsage(TestCpuUsage& cpuUsage, int64_t Hz) in GetCpuUsage() argument
234 int64_t userTime = stat.user * Hz; in GetCpuUsage()
235 int64_t sysTime = stat.system * Hz; in GetCpuUsage()
236 int64_t totalTime = (stat.user + stat.nice + stat.system + stat.irq + stat.softirq + stat.steal) * Hz; in GetCpuUsage()
237 int64_t bootTime = totalTime + (stat.idle + stat.iowait) * Hz; in GetCpuUsage()
291 int64_t Hz = cpuPlugin.GetUserHz(); in HWTEST_F() local
292 int64_t processCpuTime = (g_pidStat.utime + g_pidStat.stime) * Hz; in HWTEST_F()
343 int64_t Hz = cpuPlugin.GetUserHz(); HWTEST_F() local
425 int64_t Hz = cpuPlugin.GetUserHz(); HWTEST_F() local
463 int64_t Hz = cpuPlugin.GetUserHz(); HWTEST_F() local
538 int64_t Hz = cpuPlugin.GetUserHz(); HWTEST_F() local
618 int64_t Hz = cpuPlugin.GetUserHz(); HWTEST_F() local
747 int64_t Hz = cpuPlugin.GetUserHz(); HWTEST_F() local
817 int64_t Hz = cpuPlugin.GetUserHz(); HWTEST_F() local
[all...]
/developtools/profiler/device/plugins/process_plugin/test/unittest/
H A Dprocess_plugin_unittest.cpp153 void GetCpuData(std::vector<CpuData>& cpuDataVec, int64_t Hz) in GetCpuData() argument
156 + g_bootData.irq + g_bootData.softirq + g_bootData.steal) * Hz; in GetCpuData()
159 + g_processCpuData[i].cstime) * Hz; in GetCpuData()
223 int64_t Hz = processPlugin->GetUserHz(); in HWTEST_F() local
224 GetCpuData(cpuDataVec, Hz); in HWTEST_F()
311 int64_t Hz = processPlugin->GetUserHz(); in HWTEST_F() local
312 GetCpuData(cpuDataVec, Hz); in HWTEST_F()

Completed in 3 milliseconds