Combined should not include wait time
This commit is contained in:
parent
87d6159c65
commit
b5b16908a3
|
@ -60,8 +60,11 @@ public class CpuPerc {
|
||||||
return this.wait;
|
return this.wait;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Sum of User + Sys + Nice
|
||||||
|
*/
|
||||||
public double getCombined() {
|
public double getCombined() {
|
||||||
return this.user + this.sys + this.nice + this.wait;
|
return this.user + this.sys + this.nice;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String format(double val) {
|
public static String format(double val) {
|
||||||
|
|
Loading…
Reference in New Issue