Details
-
Improvement
-
Resolution: Postponed
-
Trivial
-
None
-
None
-
None
Description
Windows 95/98/ME timeGetTime has a resolution of 1 ms and on Windows NT/2000/XP this same function has a resolution of 10 ms. The compatibility mode of Windows XP (NT in general) gets the behavior wrong and fails to adjust the default timer resolution in it's "Windows 95" and "Windows 98 / ME" modes. This issue be seen in WinXP_W95Compat.png and ROS.png whereas the correct behavior is shown in Win98.png.
The attached time_resolution.patch corrects this issue by adding a new shim called "DefaultTimerResolution1ms" and assigning it to the "Windows 95" and "Windows 98 / ME" profiles. The results can be seen in ROS_W95_W98MECompat.png where the counter doesn't stagnate for a long time and then increment by 10.