Commit 21e3ca4c authored by jeremy@chromium.org's avatar jeremy@chromium.org

[Mac] Re-Enable timer coalescing on Mac.

Disabled in r283311 to get a measurement on the effect on the bots.
Re-Enabling because we've collected the data we need.

BUG=356804

Review URL: https://codereview.chromium.org/408753002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284382 0039d316-1c4b-4281-b951-d872f2087c98
parent e43c61fe
...@@ -72,9 +72,6 @@ bool g_not_using_cr_app = false; ...@@ -72,9 +72,6 @@ bool g_not_using_cr_app = false;
// Call through to CFRunLoopTimerSetTolerance(), which is only available on // Call through to CFRunLoopTimerSetTolerance(), which is only available on
// OS X 10.9. // OS X 10.9.
void SetTimerTolerance(CFRunLoopTimerRef timer, CFTimeInterval tolerance) { 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, typedef void (*CFRunLoopTimerSetTolerancePtr)(CFRunLoopTimerRef timer,
CFTimeInterval tolerance); CFTimeInterval tolerance);
...@@ -97,7 +94,6 @@ void SetTimerTolerance(CFRunLoopTimerRef timer, CFTimeInterval tolerance) { ...@@ -97,7 +94,6 @@ void SetTimerTolerance(CFRunLoopTimerRef timer, CFTimeInterval tolerance) {
if (settimertolerance_function_ptr) if (settimertolerance_function_ptr)
settimertolerance_function_ptr(timer, tolerance); settimertolerance_function_ptr(timer, tolerance);
#endif
} }
} // namespace } // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment