equal
deleted
inserted
replaced
109 !MemoryMonitorView methodsFor:'drawing'! |
109 !MemoryMonitorView methodsFor:'drawing'! |
110 |
110 |
111 displayKilo:aNumber name:nm y:y |
111 displayKilo:aNumber name:nm y:y |
112 |s| |
112 |s| |
113 |
113 |
114 aNumber >= (1024*1024*1024*2) ifTrue:[ |
114 "/ s := nm , (UnitConverter fileSizeStringFor:aNumber). |
|
115 aNumber >= (1024*1024*1024*8) ifTrue:[ |
115 s := nm , ((aNumber // (1024*1024*1024)) printStringLeftPaddedTo:5) , 'G '. |
116 s := nm , ((aNumber // (1024*1024*1024)) printStringLeftPaddedTo:5) , 'G '. |
116 ] ifFalse:[ |
117 ] ifFalse:[ |
117 aNumber >= (1024*1024*16) ifTrue:[ |
118 aNumber >= (1024*1024*16) ifTrue:[ |
118 s := nm , ((aNumber // (1024*1024)) printStringLeftPaddedTo:5) , 'M '. |
119 s := nm , ((aNumber // (1024*1024)) printStringLeftPaddedTo:5) , 'M '. |
119 ] ifFalse:[ |
120 ] ifFalse:[ |
316 tot: total memory used (overall oldSpace + overall newSpace) |
317 tot: total memory used (overall oldSpace + overall newSpace) |
317 all: current memory in use (oldSpace + newSpace) |
318 all: current memory in use (oldSpace + newSpace) |
318 new: current newSpace in use |
319 new: current newSpace in use |
319 fre: current size of freelist in oldSpace |
320 fre: current size of freelist in oldSpace |
320 old: current oldSpace in use |
321 old: current oldSpace in use |
321 mal: netto allocated by malloc |
322 mal: net allocated by malloc |
322 mto: brutto memory reserved by malloc |
323 mto: brutto memory reserved by malloc |
323 code: current just-in-time compiled code cache size |
324 code: current just-in-time compiled code cache size |
324 t: current tenure age |
325 t: current tenure age |
325 I: IGC state |
326 I: IGC state |
326 weak: number of weak arrays in the system |
327 weak: number of weak arrays in the system |
1029 ! ! |
1030 ! ! |
1030 |
1031 |
1031 !MemoryMonitorView class methodsFor:'documentation'! |
1032 !MemoryMonitorView class methodsFor:'documentation'! |
1032 |
1033 |
1033 version |
1034 version |
1034 ^ '$Header: /cvs/stx/stx/libtool/MemoryMonitorView.st,v 1.18 2013-02-20 09:53:50 cg Exp $' |
1035 ^ '$Header: /cvs/stx/stx/libtool/MemoryMonitorView.st,v 1.19 2013-04-28 13:52:26 cg Exp $' |
1035 ! |
1036 ! |
1036 |
1037 |
1037 version_CVS |
1038 version_CVS |
1038 ^ '$Header: /cvs/stx/stx/libtool/MemoryMonitorView.st,v 1.18 2013-02-20 09:53:50 cg Exp $' |
1039 ^ '$Header: /cvs/stx/stx/libtool/MemoryMonitorView.st,v 1.19 2013-04-28 13:52:26 cg Exp $' |
1039 ! ! |
1040 ! ! |
1040 |
1041 |