View Single Post
Old 30 March 2015, 18:30   #1
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,476
WinUAE and Windows timer resolution

I read a blog post titled Windows Timer Resolution: Megawatts Wasted. The gist of it is that many programs increase the timer resolution used by Windows, thus increasing the frequency of timer interrupts. Which uses more power since the CPU can't enter the lowest-power states, and has a small but measurable performance impact on other programs. In some cases that's needed (for example a media player when playing), but in others it isn't (e.g. media player when paused).

I thought I'd see what WinUAE does to the timer interval on Windows Vista SP2. Before running WinUAE, clockres reported:
Maximum timer interval: 15.600 ms
Minimum timer interval: 0.500 ms
Current timer interval: 15.600 ms


After running WinUAE (settings window open, before starting emulation):
Maximum timer interval: 15.600 ms
Minimum timer interval: 0.500 ms
Current timer interval: 1.000 ms


The reported current timer interval stays at 1.000 ms regardless of whether emulation is running or paused. After exiting WinUAE the current interval returns to 15.600 ms.

So, I'm just wondering: would it be feasible to have WinUAE only reduce the timer interval when emulation is actually running, not when paused or the settings window is opened?
mark_k is offline  
AdSense AdSense  
 
Page generated in 0.04858 seconds with 9 queries