Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6549447cdfe2e35b0e5e677f8f1d36e8e2316dc3a6735a31efee11098e1b6694
Ticket: 7e47f5599321684435b0216832f5555c7f3c3df7
MS-Win Time: why not use GetSystemTimePreciseAsFileTime()
User & Date: oehhar on 2025-11-15 10:07:56
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. 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
    
  5. foundin changed to: "main"
  6. is_private changed to: "0"
  7. login: "oehhar"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "oehhar"
  14. subsystem changed to: "06. Time Measurement"
  15. title changed to:
    MS-Win Time: why not use GetSystemTimePreciseAsFileTime()
    
  16. type changed to: "RFE"