(SIGAR-189) ignore CP_WAIT time on HPUX
This commit is contained in:
parent
ce7be03af5
commit
b1352e2f76
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue