From aeb73b9982623b1a7cb612e6041854121c33dffe Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 12 May 2005 00:16:53 +0000 Subject: [PATCH] add missing cpu wait --- src/os/aix/aix_sigar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/aix/aix_sigar.c b/src/os/aix/aix_sigar.c index 8afb1a0b..004b8f7f 100644 --- a/src/os/aix/aix_sigar.c +++ b/src/os/aix/aix_sigar.c @@ -725,6 +725,7 @@ static int sigar_cpu_list_get_kmem(sigar_t *sigar, sigar_cpu_list_t *cpulist) cpu->nice = 0; /* N/A */ cpu->sys = SIGAR_TICK2SEC(info->cpu[CPU_KERNEL]); cpu->idle = SIGAR_TICK2SEC(info->cpu[CPU_IDLE]); + cpu->wait = SIGAR_TICK2SEC(info->cpu[CPU_WAIT]); cpu->total = cpu->user + cpu->sys + cpu->idle + cpu->wait; }