Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 59c223f5bb1f42737638c9d7e0f007fe32c9b80abe522cbec34478d0d747c65b
Ticket: 1238d4fdb0a41e6912b353a03732a001a1351850
MS-Win Time: QueryPerformanceFrequency does not return NULL since Win XP -> remove legacy code
User & Date: oehhar on 2025-11-01 18:05:53
Changes

  1. comment changed to:
    Following this description:
    
    [https://learn.microsoft.com/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancefrequency]
    
    the command "QueryPerformanceFrequency" never retruns NULL since WIndows XP.
    So, we can assume for 9.1 to always get a non-null.
    
    Some code in tclWinTime.c may be removed.
    
    Same for QueryPerformanceCounter
    [https://learn.microsoft.com/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancecounter]
    
    Is this ok ?
    
    Thanks,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/plain"