Home
last modified time | relevance | path

Searched refs:iowait (Results 1 – 6 of 6) sorted by relevance

/developtools/profiler/host/smartperf/client/client_command/
DCPU.cpp157 size_t iowait = time[4] - preTime[4]; in CacWorkload() local
159 size_t total = user + sys + idle + iowait + irq; in CacWorkload()
163 double periowait = std::atof(std::to_string(iowait * 100.0 / total).c_str()); in CacWorkload()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/item/
DCPU.ets129 let iowait = time[4] - pre_time[4];
131 let total = user + sys + idle + iowait + irq;
132 if (user < 0 || sys < 0 || idle < 0 || iowait < 0 || irq < 0) {
137 let per_iowait = iowait * 100.0 / total;
/developtools/hiperf/demo/cpp/
Dhiperf_example_cmd.cpp48 bool iowait = false; member
157 if (option.iowait) { in LoopFunction()
464 } else if (GetBoolFromArg(args, "--iowait", option.iowait)) { in main()
/developtools/profiler/device/plugins/cpu_plugin/src/
Dcpu_data_plugin.cpp370 int64_t iowait = 0; in GetSystemCpuTime() local
378 iowait = atoi(cpuUsageVec[SYSTEM_IOWAIT].c_str()); in GetSystemCpuTime()
386 cpuTimeData.systemBootTime = cpuTimeData.systemUsageTime + (idle + iowait) * GetUserHz(); in GetSystemCpuTime()
/developtools/profiler/device/plugins/process_plugin/test/unittest/
Dprocess_plugin_unittest.cpp79 int64_t iowait; member
160 …Time = (g_bootData.user + g_bootData.nice + g_bootData.system + g_bootData.idle + g_bootData.iowait in GetCpuData()
/developtools/profiler/device/plugins/cpu_plugin/test/unittest/
Dcpu_data_plugin_unittest.cpp52 int64_t iowait; member
233 time = usageTime + (stat.idle + stat.iowait) * Hz; in GetSystemCpuTime()
242 int64_t bootTime = totalTime + (stat.idle + stat.iowait) * Hz; in GetCpuUsage()