Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Unified Diff: base/time/time_win.cc

Issue 415783004: crank timeBeginPeriod to 4ms (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/time_win.cc
diff --git a/base/time/time_win.cc b/base/time/time_win.cc
index cf7be687d2e5a0b292414796f1b3c25e2535f518..7df634685d8fc5ffce2ef556f9cf289c17e869ab 100644
--- a/base/time/time_win.cc
+++ b/base/time/time_win.cc
@@ -182,7 +182,7 @@ bool Time::ActivateHighResolutionTimer(bool activating) {
// Using anything other than 1ms makes timers granular
// to that interval.
- const int kMinTimerIntervalMs = 1;
+ const int kMinTimerIntervalMs = 4;
MMRESULT result;
if (activating) {
result = timeBeginPeriod(kMinTimerIntervalMs);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698