include wait time in getCombined
This commit is contained in:
parent
f507fd1bd5
commit
fbc109eee3
@ -61,10 +61,10 @@ public class CpuPerc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Sum of User + Sys + Nice
|
* @return Sum of User + Sys + Nice + Wait
|
||||||
*/
|
*/
|
||||||
public double getCombined() {
|
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) {
|
public static String format(double val) {
|
||||||
|
Loading…
Reference in New Issue
Block a user