Workaround DwmGetCompositionTimingInfo giving bad qpcRefreshPeriod
On at least one machine Chrome hits a problem where DwmGetCompositionTimingInfo says that qpcRefreshPeriod is 60. This implies a refresh rate of ~34,000 fps. Chrome dutifully tries to hit this frame rate leading to excessive CPU usage. This change adds a couple of checks to detect bad values and fix them. In parallel this bug is being reported. R=piman@chromium.org BUG=486226 Review URL: https://codereview.chromium.org/1141013004 Cr-Commit-Position: refs/heads/master@{#329983}
Showing
Please register or sign in to comment