make getCpuTime public

This commit is contained in:
Doug MacEachern committed 2004-11-10 23:23:48 +00:00
1 parent 0e3be6714e
commit 76e26b5d88
1 file changed
+1 -1
@@ -166,7 +166,7 @@ public class Ps extends SigarCommandBase {
println(join(getInfo(this.proxy, pid)));
}
private static String getCpuTime(ProcTime time) {
public static String getCpuTime(ProcTime time) {
long t = time.getTotal();
return t/60 + ":" + t%60;
}