Searched refs:linuxcpustat (Results 1 – 1 of 1) sorted by relevance
2029 GuestLinuxCpuStats *linuxcpustat; in qmp_guest_get_cpustats() local2052 linuxcpustat = &cpustat->u.q_linux; in qmp_guest_get_cpustats()2053 linuxcpustat->cpu = atoi(&name[3]); in qmp_guest_get_cpustats()2054 linuxcpustat->user = user * 1000 / clk_tck; in qmp_guest_get_cpustats()2055 linuxcpustat->nice = nice * 1000 / clk_tck; in qmp_guest_get_cpustats()2056 linuxcpustat->system = system * 1000 / clk_tck; in qmp_guest_get_cpustats()2057 linuxcpustat->idle = idle * 1000 / clk_tck; in qmp_guest_get_cpustats()2060 linuxcpustat->has_iowait = true; in qmp_guest_get_cpustats()2061 linuxcpustat->iowait = iowait * 1000 / clk_tck; in qmp_guest_get_cpustats()2065 linuxcpustat->has_irq = true; in qmp_guest_get_cpustats()[all …]