[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Possible nasty bug in time management (Issue #602)

Dr. Nicola Mingotti notifications at github.com
Thu Nov 4 09:04:10 UTC 2021


Hi guys, 
thank you for your comments, after them i made the following experiment that confirms Dave view.
* In the test below I try to run correspondendts commands in my laptop and a remove server as near in time as i can.
* `primLocalMicrosecondClock` primitive is **not able** to handle time change in the OS
* `primtUtc*` **are capable** of managing time change in the OS
* Therefore, i would say the easiest fix would be for us to move Cuis to a primtUtc* primitive
```
" --- server, long running image (max 30 days) ----- " 
Time primUtcMicrosecondClock . " 3813468560     557 013 "
Time primUtcWithOffset sum . " 1636015592   614 478 "
Time primLocalMicrosecondClock . " 3813476132    229 495 "

" --- my laptop, fresh run image -----"
Time primUtcMicrosecondClock . " 3813468562    809 323 "
Time primUtcWithOffset sum. " 1636015588    248 736 "
Time primLocalMicrosecondClock . " 3813472528   768 737 "
```



-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/602#issuecomment-960570213
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20211104/9a38a9fe/attachment.html>


More information about the Vm-dev mailing list