Tcl Source Code

Check-in [f6637d3dd8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:[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"
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | sebres-8-5-timerate
Files: files | file ages | folders
SHA1: f6637d3dd85af2a35101e2461c5769ebd1b27cbe
User & Date: sebres 2017-05-23 21:57:13.674
References
2026-10-21
11:01 • Closed ticket [1567838fff]: Clock Creep using after on Windows plus 4 othe... artifact: e423663f2d user: serhiy.storchaka
2019-03-05
20:23 • Closed ticket [b7b707a310]: win32 NRT-only - NativeGetTime backwards time-drif... artifact: a3ec7b716e user: sebres
2019-02-13
02:57
merge 8-5-timerate (?max-count?, break possibility, diverse fixes) + windows time-calibration cycle ... check-in: 2f5413a0fb user: sebres tags: sebres-8-6-timerate
2017-05-23
22:01 • Pending ticket [b7b707a310]: win32 NRT-only - NativeGetTime backwards time-dri... artifact: eabd04466f user: sebres
Context
2019-02-12
18:41
merge 8.5 (note: to avoid too many conflicts, merged using `fossil merge --baseline 0055a16a8b core-... check-in: 0e846f3e6f user: sergey.brester tags: sebres-8-5-timerate
2017-07-03
13:21
[performance] after-event list optimized (interp-assoc switched to doubly linked list, because requi... check-in: f562bee7a0 user: sebres tags: sebres-8-5-event-perf-branch
2017-05-23
21:57
[win32] optimized calibration cycle (makes Tcl for windows "RTS" resp. NRT-capable): - the clock ti... check-in: f6637d3dd8 user: sebres tags: sebres-8-5-timerate
2017-05-16
12:41
back-ported branch sebres-8-6-timerate (new command "timerate" for 8.5) check-in: c8c40eda06 user: sebres tags: sebres-8-5-timerate
Changes
Unified Diff Side-by-Side Diff Patch
Changes to win/tclWinTime.c.