Overview
| Artifact ID: | 805086b908e7eaa0de59889a3d0a4f8f3828b740fcd1a7e9096588905e825112 |
|---|---|
| Ticket: | 1238d4fdb0a41e6912b353a03732a001a1351850
MS-Win Time: QueryPerformanceFrequency does not return NULL since Win XP -> remove legacy code |
| User & Date: | sebres on 2025-11-03 13:52:26 |
Changes
- icomment:
Regarding not-zero return code of QPF/QPC, I'm unsure - the docu says also "if the installed hardware supports a high-resolution performance counter"... And IIRC, a VM may lack high-resolution performance counters if the underlying hypervisor or specific monitoring tools are not configured correctly or are missing certain drivers, so maybe it is too hard to remove it. As regards the calibration thread - I removed it in [fdfbd5e10] (rewritten windows high-resolution time completely without calibration thread), so however it is indeed unneeded, but certain internal adjustment is necessary to avoid "heavy" time drifts (basically part of calibration moved to time API and invoked at some circumstances by any thread to adjust QPC timer to low-resolution clock).
- login: "sebres"
- mimetype: "text/x-fossil-wiki"