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

Unified Diff: base/message_loop/message_pump_mac.mm

Issue 395763002: [Mac] Temporarily disable timer coalescing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: #if 0 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/message_loop/message_pump_mac.mm
diff --git a/base/message_loop/message_pump_mac.mm b/base/message_loop/message_pump_mac.mm
index 914977b13d59355e1dd566a6453ea4ae4eb69c78..3cda0962790787e18c36408e7f20a437e74f4aa5 100644
--- a/base/message_loop/message_pump_mac.mm
+++ b/base/message_loop/message_pump_mac.mm
@@ -72,6 +72,9 @@ bool g_not_using_cr_app = false;
// Call through to CFRunLoopTimerSetTolerance(), which is only available on
// OS X 10.9.
void SetTimerTolerance(CFRunLoopTimerRef timer, CFTimeInterval tolerance) {
+// TODO(jeremy): Temporarily disabled in order to gauge net effect of timer
+// coalescing.
+#if 0
typedef void (*CFRunLoopTimerSetTolerancePtr)(CFRunLoopTimerRef timer,
CFTimeInterval tolerance);
@@ -94,6 +97,7 @@ void SetTimerTolerance(CFRunLoopTimerRef timer, CFTimeInterval tolerance) {
if (settimertolerance_function_ptr)
settimertolerance_function_ptr(timer, tolerance);
+#endif
}
} // namespace
« 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