Leon Matthes uploaded a new version of VMMaker to project VM Maker: http://source.squeak.org/VMMaker/VMMaker.threaded-LM.3351.mcz
==================== Summary ====================
Name: VMMaker.threaded-LM.3351 Author: LM Time: 11 December 2023, 5:15:46.245581 pm UUID: b0fab7fd-14f0-4711-8797-67aa939e295f Ancestors: VMMaker.threaded-LM.3350
Use Micro instead of milli-seconds for logging VM owner switches
=============== Diff against VMMaker.threaded-LM.3350 ===============
Item was changed: ----- Method: CogThreadManager>>saveOwnerSwitchTo:successful: (in category 'logging') ----- saveOwnerSwitchTo: newOwner successful: aBoolean <var: #logEntry type: 'CogVMOwnerLog *'> <var: #currentIndex type: 'int'> <var: #newIndex type: 'int'> | currentIndex newIndex timestamp logEntry | + timestamp := coInterpreter ioUTCMicrosecondsNow. - timestamp := coInterpreter ioMSecs. currentIndex := self atomic_load: (self addressOf: ownerLogIndex). self cCode: '' inSmalltalk: [currentIndex := AtomicValue newFrom: currentIndex]. [newIndex := currentIndex + 1 \ OwnerLogSize. self atomic: (self addressOf: ownerLogIndex) _compare: (self addressOf: currentIndex) _exchange_strong: newIndex] whileFalse: []. newIndex < currentIndex ifTrue: [ownerLogWrapped := true]. logEntry := (self addressOf: (ownerLog at: (self cCode: [currentIndex] inSmalltalk: [currentIndex value]))). logEntry timestamp: timestamp; successfulSwitch: aBoolean; vmOwner: newOwner.!
vm-dev@lists.squeakfoundation.org