Searched refs:cpu_times (Results 1 – 1 of 1) sorted by relevance
243 std::array<uint64_t, 7> cpu_times{}; in ReadStat() local244 for (size_t i = 0; i < cpu_times.size() && words.Next(); i++) { in ReadStat()245 cpu_times[i] = in ReadStat()250 cpu_stat->set_user_ns(cpu_times[0] * ns_per_user_hz_); in ReadStat()251 cpu_stat->set_user_ice_ns(cpu_times[1] * ns_per_user_hz_); in ReadStat()252 cpu_stat->set_system_mode_ns(cpu_times[2] * ns_per_user_hz_); in ReadStat()253 cpu_stat->set_idle_ns(cpu_times[3] * ns_per_user_hz_); in ReadStat()254 cpu_stat->set_io_wait_ns(cpu_times[4] * ns_per_user_hz_); in ReadStat()255 cpu_stat->set_irq_ns(cpu_times[5] * ns_per_user_hz_); in ReadStat()256 cpu_stat->set_softirq_ns(cpu_times[6] * ns_per_user_hz_); in ReadStat()