diff options
| author | sebres <sebres@users.sourceforge.net> | 2017-05-23 21:57:13 (GMT) |
|---|---|---|
| committer | sebres <sebres@users.sourceforge.net> | 2017-05-23 21:57:13 (GMT) |
| commit | ccbd8395f4a51f5b769998058006ed3d36823ace (patch) | |
| tree | 000f548536822cb04b6927d1752f822862d3fa3b /unix/tclUnixTest.c | |
| parent | 05d83f7b1ab0970c8b7850b81347ca7cbe98ad39 (diff) | |
| download | tcl-ccbd8395f4a51f5b769998058006ed3d36823ace.zip tcl-ccbd8395f4a51f5b769998058006ed3d36823ace.tar.gz tcl-ccbd8395f4a51f5b769998058006ed3d36823ace.tar.bz2 | |
[win32] optimized calibration cycle (makes Tcl for windows "RTS" resp. NRT-capable):
- the clock ticks never backwards (avoid it by negative drifts using comparison of times before and after calibration);
- more precise, smooth/soft drifting (avoids too large drifts, already after 10 iterations the drift gets fewer as 0.1 microseconds);
- because of more accurate drifting (aspire to the smallest difference), we can prolong calibration interval (up to 10 seconds by small tdiff-value);
Closes ticket [b7b707a310ea42e9f1b29954ee8ca13ae91ccabe] "[win32] NRT-only - NativeGetTime backwards time-drifts bug"
Diffstat (limited to 'unix/tclUnixTest.c')
0 files changed, 0 insertions, 0 deletions
