Merge branch 'sigar-1.6'

This commit is contained in:
Doug MacEachern 2009-11-05 14:03:16 -08:00
commit c7dc222b4a
1 changed files with 1 additions and 2 deletions

View File

@ -136,8 +136,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]);