Overview
| Artifact ID: | 6549447cdfe2e35b0e5e677f8f1d36e8e2316dc3a6735a31efee11098e1b6694 |
|---|---|
| Ticket: | 7e47f5599321684435b0216832f5555c7f3c3df7
MS-Win Time: why not use GetSystemTimePreciseAsFileTime() |
| User & Date: | oehhar on 2025-11-15 10:07:56 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
I am still reading the MS-Windows Win32 API documentation. This documentation proposes to use the function GetSystemTimePreciseAsFileTime() for UTC based high resolution time: https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getsystemtimepreciseasfiletime Would that be a replacement for the MS-Win Tcl_Time() implementation featuring an own calibration thread. The comments in TCL why this is required reference Pentium 4 processors and Windows SE. I already asked a similar question [1238d4fdb0] where the answer was, that the old API is still required for Windows 8 (even if documented as superseeded in Windows XP). Thanks for any light, Harald
- foundin changed to: "main"
- is_private changed to: "0"
- login: "oehhar"
- priority changed to: "5 Medium"
- private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "oehhar"
- subsystem changed to: "06. Time Measurement"
- title changed to:
MS-Win Time: why not use GetSystemTimePreciseAsFileTime()
- type changed to: "RFE"