From fe1ed25bd162545f603fe640731ed2bd95b6110a Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 12 May 2005 00:13:14 +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 ca2b9a14..f07e553b 100644 --- a/src/os/aix/aix_sigar.c +++ b/src/os/aix/aix_sigar.c @@ -661,6 +661,7 @@ int sigar_cpu_get(sigar_t *sigar, sigar_cpu_t *cpu) cpu->nice = SIGAR_FIELD_NOTIMPL; /* N/A */ cpu->sys = SIGAR_TICK2SEC(data.cpu[CPU_KERNEL]); cpu->idle = SIGAR_TICK2SEC(data.cpu[CPU_IDLE]); + cpu->wait = SIGAR_TICK2SEC(data.cpu[CPU_WAIT]); cpu->total = 0; for (i=0; i