class: MemoryMonitorView
authorClaus Gittinger <cg@exept.de>
Sun, 28 Apr 2013 15:52:26 +0200
changeset 12731 8613dbe2831f
parent 12730 4c1ad9af9d2f
child 12732 543f9820408e
class: MemoryMonitorView comment/format in: #updateNumbers changed: #displayKilo:name:y:
MemoryMonitorView.st
--- a/MemoryMonitorView.st	Sun Apr 28 15:50:58 2013 +0200
+++ b/MemoryMonitorView.st	Sun Apr 28 15:52:26 2013 +0200
@@ -111,7 +111,8 @@
 displayKilo:aNumber name:nm y:y
     |s|
 
-    aNumber >= (1024*1024*1024*2) ifTrue:[
+"/    s := nm , (UnitConverter fileSizeStringFor:aNumber).
+    aNumber >= (1024*1024*1024*8) ifTrue:[
         s := nm , ((aNumber // (1024*1024*1024)) printStringLeftPaddedTo:5) , 'G '.
     ] ifFalse:[
         aNumber >= (1024*1024*16) ifTrue:[
@@ -318,7 +319,7 @@
         new:    current newSpace in use
         fre:    current size of freelist in oldSpace
         old:    current oldSpace in use
-        mal:    netto allocated by malloc
+        mal:    net allocated by malloc
         mto:    brutto memory reserved by malloc
         code:   current just-in-time compiled code cache size
         t:      current tenure age
@@ -1031,10 +1032,10 @@
 !MemoryMonitorView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/MemoryMonitorView.st,v 1.18 2013-02-20 09:53:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/MemoryMonitorView.st,v 1.19 2013-04-28 13:52:26 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/MemoryMonitorView.st,v 1.18 2013-02-20 09:53:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/MemoryMonitorView.st,v 1.19 2013-04-28 13:52:26 cg Exp $'
 ! !