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

Issue 23147002: Enable high resolution time for TimeTicks::Now on Windows Canary (Closed)

Created:
7 years, 4 months ago by James Simonsen
Modified:
7 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, erikwright+watch_chromium.org, jam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Enable high resolution time for TimeTicks::Now on Windows Canary This should be unnoticeable, except for improved resolution in places such as window.performance.now(). The feature is enabled if the user is running Canary channel or has manually specified the --enable-high-resolution-time flag. This will only work if the CPU has a non-stop TSC and isn't a broken Athlon processor. UMA data show this is a safe combination. The flag is propagated to renderer processes so that they know to enable it too. BUG=158234 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222396

Patch Set 1 #

Patch Set 2 : Hacky test code #

Patch Set 3 : Fix sleep #

Patch Set 4 : Simpler sleep & rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -7 lines) Patch
M base/profiler/tracked_time.cc View 1 chunk +1 line, -2 lines 0 comments Download
M base/test/test_suite.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M base/threading/platform_thread_win.cc View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M base/time/time.h View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M base/time/time_win.cc View 2 5 chunks +44 lines, -4 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 2 chunks +16 lines, -0 lines 0 comments Download
M content/app/content_main_runner.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/browser_child_process_host_impl.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
James Simonsen
Patch set 1 is the original patch I landed. You'd already reviewed that, but it ...
7 years, 4 months ago (2013-08-15 19:04:29 UTC) #1
James Simonsen
Ping?
7 years, 4 months ago (2013-08-21 23:18:42 UTC) #2
James Simonsen
Ping? This is the only thing that's changed since last time: --- a/base/threading/platform_thread_win.cc +++ b/base/threading/platform_thread_win.cc ...
7 years, 3 months ago (2013-09-04 20:34:22 UTC) #3
darin (slow to review)
LGTM. Apologies, this fell off my radar. On 2013/09/04 20:34:22, James Simonsen wrote: > Ping? ...
7 years, 3 months ago (2013-09-05 07:29:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonjam@chromium.org/23147002/19001
7 years, 3 months ago (2013-09-10 18:11:54 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=75937
7 years, 3 months ago (2013-09-10 22:03:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonjam@chromium.org/23147002/19001
7 years, 3 months ago (2013-09-10 22:07:36 UTC) #7
commit-bot: I haz the power
7 years, 3 months ago (2013-09-10 23:36:10 UTC) #8
Message was sent while issue was closed.
Change committed as 222396

Powered by Google App Engine
This is Rietveld 408576698