include wait time in getCombined

This commit is contained in:
Doug MacEachern 2005-11-21 22:01:21 +00:00
parent f507fd1bd5
commit fbc109eee3

View File

@ -61,10 +61,10 @@ public class CpuPerc {
}
/**
* @return Sum of User + Sys + Nice
* @return Sum of User + Sys + Nice + Wait
*/
public double getCombined() {
return this.user + this.sys + this.nice;
return this.user + this.sys + this.nice + this.wait;
}
public static String format(double val) {