[Bug 7710] QueryPerformanceCounter should be independent of system time

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 27 13:06:30 CDT 2012


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

madcatx at atlas.cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |madcatx at atlas.cz

--- Comment #21 from madcatx at atlas.cz 2012-08-27 13:06:30 CDT ---
As this is still a source of trouble, I attempted to at least partially fix
this behavior by using clock_gettime() on Linux (should be available on Unixes
too). MacOS X needs a Mach-specific mach_absolute_time() function. The proposed
patch builds and works as expected on post-2.6.28 Linux and MacOS X 10.6.
Please note that this patch affects only GetTickCount(), GetTickCount64() and
timeGetTime(), QueryPerformanceCounter() has not been changed.

-- 
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