[Bug 11230] New: GetTickCount is affected by clock changes

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 16 22:49:23 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=11230

           Summary: GetTickCount is affected by clock changes
           Product: Wine
           Version: 0.9.53.
          Platform: All
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: ghazel at gmail.com


This affects 0.9.53, but probably exists in previous versions as well.

http://source.winehq.org/source/dlls/kernel32/kernel_main.c?v=wine-0.9.52#L244

Because GetTickCount uses GetTickCount64 which uses NtQuerySystemTime, the tick
count can jump backwards if the system clock is changed. Tick count functions
are supposed to be milliseconds since system start, and should not be affected
by the clock, or go backwards (aside from the wrapping issue on GetTickCount,
which is well known).


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list