[Vm-dev] VM Maker: CogTools-eem.74.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jul 8 20:01:55 UTC 2016


Eliot Miranda uploaded a new version of CogTools to project VM Maker:
http://source.squeak.org/VMMaker/CogTools-eem.74.mcz

==================== Summary ====================

Name: CogTools-eem.74
Author: eem
Time: 8 July 2016, 1:01:48.875698 pm
UUID: 6c802c74-0f7e-43e1-b4e7-1c05f89a2ce9
Ancestors: CogTools-eem.73

Don't use Utilities to obtain timestamp.

=============== Diff against CogTools-eem.73 ===============

Item was changed:
  ----- Method: VMProfiler>>putReportPreambleOn: (in category 'reports') -----
  putReportPreambleOn: s
  	| expr |
+ 	s nextPutAll: (SmalltalkImage current getSystemAttribute: 0); space; nextPutAll: Date today yyyymmdd; space.
+ 	Time now print24: true on: s.
+ 	s cr.
- 	s nextPutAll: (SmalltalkImage current getSystemAttribute: 0); space; nextPutAll: Utilities changeStampPerSe; cr.
  	(startStats size >= 44
  	 and: [(startStats at: 44) isNumber]) ifTrue:
  		[s nextPutAll: 'eden size: '; nextPutAll: (startStats at: 44) asStringWithCommas.
  		 s nextPutAll: '  stack pages: '; print: (startStats at: 42).
  		 (startStats size >= 46
  		 and: [(startStats at: 46) isNumber
  		 and: [(startStats at: 46) > 0]]) ifTrue:
  			[s nextPutAll: '  code size: '; nextPutAll: (startStats at: 46) asStringWithCommas].
  		s cr].
  	s cr.
  	(expr := self trimmedExpressionText) notEmpty ifTrue:
  		[s nextPutAll: expr; cr; cr].
  	(gcPriorToProfile or: [clearPriorToProfile or: [forkProfile]]) ifTrue:
  		[gcPriorToProfile ifTrue: [s nextPutAll: 'gc prior.  '].
  		 clearPriorToProfile ifTrue: [s nextPutAll: 'clear prior.  '].
  		 forkProfile ifTrue: [s nextPutAll: 'run in separate process.'].
  		 s cr].
  	elapsedTime > 0 ifTrue:
  		[s	print: elapsedTime / 1000.0; nextPutAll: ' seconds; sampling frequency ';
  			print: (total * 1000 / elapsedTime) rounded; nextPutAll: ' hz'; cr]!



More information about the Vm-dev mailing list