ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [26/50] [abbrv] incubator-ignite git commit: # IGNITE-520 Minor fix for Heap Memory Used calculation.
Date Sun, 22 Mar 2015 19:46:23 GMT
# IGNITE-520 Minor fix for Heap Memory Used calculation.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/49027b79
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/49027b79
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/49027b79

Branch: refs/heads/ignite-379-1
Commit: 49027b7983ac77440bc428ded6f949f914d78e3a
Parents: 747b4b8
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Fri Mar 20 15:46:37 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Fri Mar 20 15:46:37 2015 +0700

----------------------------------------------------------------------
 .../apache/ignite/visor/commands/cache/VisorCacheCommand.scala   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/49027b79/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
index 37dc479..762f53d 100644
--- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
+++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
@@ -349,9 +349,9 @@ class VisorCacheCommand {
                             ciT += (
                                 nodeId8Addr(nid),
                                 nm.getTotalCpus,
-                                formatDouble(nm.getHeapMemoryUsed / nm.getHeapMemoryMaximum
* 100.0d) + " %",
+                                formatDouble(100d * nm.getHeapMemoryUsed / nm.getHeapMemoryMaximum)
+ " %",
 
-                                formatDouble(nm.getCurrentCpuLoad * 100.0) + " %",
+                                formatDouble(nm.getCurrentCpuLoad * 100d) + " %",
                                 X.timeSpan2HMSM(nm.getUpTime),
                                 cm.keySize(),
                                 (


Mime
View raw message