(SIGAR-189) ignore CP_WAIT time on HPUX

This commit is contained in:
Doug MacEachern 2009-11-05 14:02:54 -08:00
parent ce7be03af5
commit b1352e2f76
1 changed files with 1 additions and 2 deletions

View File

@ -134,8 +134,7 @@ static void get_cpu_metrics(sigar_t *sigar,
cpu->idle = SIGAR_TICK2MSEC(cpu_time[CP_IDLE]);
cpu->wait = SIGAR_TICK2MSEC(cpu_time[CP_WAIT] +
cpu_time[CP_SWAIT] +
cpu->wait = SIGAR_TICK2MSEC(cpu_time[CP_SWAIT] +
cpu_time[CP_BLOCK]);
cpu->irq = SIGAR_TICK2MSEC(cpu_time[CP_INTR]);