From fbc109eee37a1d609066a02ba3b43c2f49d014d6 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 21 Nov 2005 22:01:21 +0000 Subject: [PATCH] include wait time in getCombined --- bindings/java/src/net/hyperic/sigar/CpuPerc.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/java/src/net/hyperic/sigar/CpuPerc.java b/bindings/java/src/net/hyperic/sigar/CpuPerc.java index ad2bd9b1..ededb542 100644 --- a/bindings/java/src/net/hyperic/sigar/CpuPerc.java +++ b/bindings/java/src/net/hyperic/sigar/CpuPerc.java @@ -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) {