Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ee917a6ff1f9b41b047cbc442377f25bcf6ed881df1866ad4acab20a20182b91
Ticket: b7b707a310ea42e9f1b29954ee8ca13ae91ccabe
[win32] NRT-only - NativeGetTime backwards time-drifts bug (fixed)
User & Date: sebres on 2019-03-05 22:01:39
Changes

  1. closedate changed to: "2458548.41781588"
  2. icomment:
    Just as PoC (or for the case someone needs it for tests resp. to check for some other platforms)...
    
    Here is an example with 30 seconds run-time:
    <code><pre style="padding-left:10pt">
    proc test {tm} {
      set l [clock microseconds];
      timerate {
        set i [clock microseconds];
        if {$i < $l} {error "$i < $l"};
        set l $i
      } $tm
    }; 
    test 30000
    </pre></code>
    
    Similar tests have been succeeded (no backward-drifts after run-time of ca. half an hour) on physical host and virtual machines of me (single- and multi-threaded).
    
  3. login: "sebres"
  4. mimetype: "text/x-fossil-wiki"