[squeak-dev] The Trunk: SystemReporter-laza.8.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue Feb 1 08:35:28 UTC 2011
Alexander Lazarević uploaded a new version of SystemReporter to project The Trunk:
http://source.squeak.org/trunk/SystemReporter-laza.8.mcz
==================== Summary ====================
Name: SystemReporter-laza.8
Author: laza
Time: 28 January 2011, 12:49:28.173 pm
UUID: 7555b6b1-9af5-dd4e-bb2a-91eb0a4f3c2c
Ancestors: SystemReporter-laza.7
add reports for vm stats and vm parameters
=============== Diff against SystemReporter-laza.7 ===============
Item was changed:
----- Method: SystemReporter>>initialize (in category 'initialize-release') -----
initialize
self
add: #Image method: #reportImage;
add: #'Image Parameters' method: #reportImageParameters;
add: #'Image Sources' method: #reportSources;
add: #'MC Repositories' method: #reportRepositories;
add: #'MC Working Copies' method: #reportWorkingCopies;
add: #'VM General' method: #reportVM;
add: #'VM Options' method: #reportVMOptions;
+ add: #'VM Modules' method: #reportModules;
+ add: #'VM Parameters' method: #reportVMParameters;
+ add: #'VM Stats' method: #reportVMStats.
- add: #'VM Modules' method: #reportModules.
Smalltalk os platformName = 'Win32' ifTrue: [
self
add: #'VM Configuration' method: #reportINI.
].
self
add: #'OS General' method: #reportOS.
Smalltalk os platformName = 'Win32' ifTrue: [
self
add: #'OS Details' method: #reportOSDetails;
add: #'Hardware Details' method: #reportHardwareDetails;
add: #'GFX Hardware Details' method: #reportGFXDetails.
].
self add: #'Tiny Benchmarks' method: #reportTinyBenchmarks.
categoriesSelected := Set with: #Image with: #'VM General'.
self updateReport
!
Item was added:
+ ----- Method: SystemReporter>>reportVMParameters: (in category 'reporting') -----
+ reportVMParameters: aStream
+ | vmParameters |
+ self header: 'Virtual Machine Parameters' on: aStream.
+ vmParameters := Smalltalk vm getVMParameters.
+ #(
+ 1 'end of old-space (0-based, read-only)'
+ 2 'end of young-space (read-only)'
+ 3 'end of memory (read-only)'
+ 4 'allocationCount (read-only)'
+ 5 'allocations between GCs (read-write)'
+ 6 'survivor count tenuring threshold (read-write)'
+ 7 'full GCs since startup (read-only)'
+ 8 'total milliseconds in full GCs since startup (read-only)'
+ 9 'incremental GCs since startup (read-only)'
+ 10 'total milliseconds in incremental GCs since startup (read-only)'
+ 11 'tenures of surving objects since startup (read-only)'
+ 12 'specific to the translating VM'
+ 13 'specific to the translating VM'
+ 14 'specific to the translating VM'
+ 15 'specific to the translating VM'
+ 16 'specific to the translating VM'
+ 17 'specific to the translating VM'
+ 18 'specific to the translating VM'
+ 19 'specific to the translating VM'
+ 20 'specific to the translating VM'
+ 21 'root table size (read-only)'
+ 22 'root table overflows since startup (read-only)'
+ 23 'bytes of extra memory to reserve for VM buffers, plugins, etc.'
+ 24 'memory threshold above which shrinking object memory (rw)'
+ 25 'memory headroom when growing object memory (rw)'
+ 26 'interruptChecksEveryNms - force an ioProcessEvents every N milliseconds, in case the image is not calling getNextEvent often (rw)'
+ 27 'number of times mark loop iterated for current IGC/FGC (read-only) includes ALL marking'
+ 28 'number of times sweep loop iterated for current IGC/FGC (read-only)'
+ 29 'number of times make forward loop iterated for current IGC/FGC (read-only)'
+ 30 'number of times compact move loop iterated for current IGC/FGC (read-only)'
+ 31 'number of grow memory requests (read-only)'
+ 32 'number of shrink memory requests (read-only)'
+ 33 'number of root table entries used for current IGC/FGC (read-only)'
+ 34 'number of allocations done before current IGC/FGC (read-only)'
+ 35 'number of survivor objects after current IGC/FGC (read-only)'
+ 36 'millisecond clock when current IGC/FGC completed (read-only)'
+ 37 'number of marked objects for Roots of the world, not including Root Table entries for current IGC/FGC (read-only)'
+ 38 'milliseconds taken by current IGC (read-only)'
+ 39 'Number of finalization signals for Weak Objects pending when current IGC/FGC completed (read-only)'
+ 40 'VM word size - 4 or 8 (read-only)'
+ ) pairsDo: [:idx :desc |
+ aStream
+ nextPut: $#;
+ nextPutAll: idx printString;
+ tab;
+ nextPutAll: (vmParameters at: idx) printString;
+ tab;
+ nextPutAll: desc;
+ cr]!
Item was added:
+ ----- Method: SystemReporter>>reportVMStats: (in category 'reporting') -----
+ reportVMStats: aStream
+ self header: 'Virtual Machine Statistics' on: aStream.
+ aStream
+ nextPutAll: Smalltalk vm vmStatisticsReportString!
More information about the Squeak-dev
mailing list
|