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

Issue 1411843008: Make blink platform time consistent with the timer virtual time (Closed)

Created:
5 years, 1 month ago by alex clarke (OOO till 29th)
Modified:
5 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make blink platform time consistent with the timer virtual time This patch doesn't change anything unless the --enable-virtualized-time command line flag is specifed. If it is specified it makes monotonicallyIncreasingTime and currentTime use the virtual time source which drives the timers. Also rename BlinkPlatform's currentTIme to currentTimeSeconds and monotonicallyIncreacingTime to monotonicallyIncreacingTimeSeconds. BUG=546953 Committed: https://crrev.com/822562449e875d806b16d94fa4ee0167e2a2c78e Cr-Commit-Position: refs/heads/master@{#358291}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebased #

Patch Set 3 : Rebase + fix nits #

Total comments: 2

Patch Set 4 : Rename MonotonicallyIncreasingTime & CurrentTime #

Patch Set 5 : I missed a few things #

Patch Set 6 : Fix browser test crash #

Patch Set 7 : Rebased #

Patch Set 8 : Fix CachingCorrectnessTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -54 lines) Patch
M components/html_viewer/blink_platform_impl.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M components/html_viewer/blink_platform_impl.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M components/scheduler/base/task_queue_impl.cc View 1 2 3 4 5 4 chunks +4 lines, -3 lines 0 comments Download
M components/scheduler/base/task_queue_manager.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M components/scheduler/base/task_queue_manager.cc View 1 2 3 4 5 3 chunks +5 lines, -4 lines 0 comments Download
M components/scheduler/base/task_queue_manager_delegate.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M components/scheduler/base/task_queue_manager_delegate_for_test.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/scheduler/base/task_queue_manager_delegate_for_test.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M components/scheduler/child/idle_helper.cc View 1 2 3 4 5 6 5 chunks +8 lines, -6 lines 0 comments Download
M components/scheduler/child/scheduler_helper.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M components/scheduler/child/scheduler_helper.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M components/scheduler/child/scheduler_tqm_delegate_for_test.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/scheduler/child/scheduler_tqm_delegate_for_test.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M components/scheduler/child/scheduler_tqm_delegate_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/scheduler/child/scheduler_tqm_delegate_impl.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M components/scheduler/child/virtual_time_tqm_delegate.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/scheduler/child/virtual_time_tqm_delegate.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl.cc View 1 2 3 4 5 11 chunks +22 lines, -11 lines 0 comments Download
M components/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/child/blink_platform_impl.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 2 chunks +12 lines, -1 line 0 comments Download
M content/test/fake_renderer_scheduler.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/fake_renderer_scheduler.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8GCForContextDispose.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/CachingCorrectnessTest.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/heap/HeapPage.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.cpp View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebKit.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/TextFinderTest.cpp View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/Platform.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 41 (21 generated)
alex clarke (OOO till 29th)
5 years, 1 month ago (2015-10-30 17:19:50 UTC) #2
Sami
lgtm with some nits. https://codereview.chromium.org/1411843008/diff/1/components/scheduler/base/task_queue_manager_delegate.h File components/scheduler/base/task_queue_manager_delegate.h (right): https://codereview.chromium.org/1411843008/diff/1/components/scheduler/base/task_queue_manager_delegate.h#newcode34 components/scheduler/base/task_queue_manager_delegate.h:34: virtual double currentTime() const = ...
5 years, 1 month ago (2015-10-30 19:53:31 UTC) #7
alex clarke (OOO till 29th)
+jochen@ can you please review the changes in content/renderer/ https://codereview.chromium.org/1411843008/diff/1/components/scheduler/base/task_queue_manager_delegate.h File components/scheduler/base/task_queue_manager_delegate.h (right): https://codereview.chromium.org/1411843008/diff/1/components/scheduler/base/task_queue_manager_delegate.h#newcode34 components/scheduler/base/task_queue_manager_delegate.h:34: ...
5 years, 1 month ago (2015-11-04 15:12:24 UTC) #9
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1411843008/diff/40001/content/renderer/renderer_blink_platform_impl.h File content/renderer/renderer_blink_platform_impl.h (right): https://codereview.chromium.org/1411843008/diff/40001/content/renderer/renderer_blink_platform_impl.h#newcode173 content/renderer/renderer_blink_platform_impl.h:173: double currentTime() override; can you change these two methods ...
5 years, 1 month ago (2015-11-05 01:25:23 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411843008/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411843008/60001
5 years, 1 month ago (2015-11-05 12:23:32 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/153841) cast_shell_linux on ...
5 years, 1 month ago (2015-11-05 12:33:00 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411843008/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411843008/80001
5 years, 1 month ago (2015-11-05 12:48:01 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/75824)
5 years, 1 month ago (2015-11-05 13:12:12 UTC) #18
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/1411843008/diff/40001/content/renderer/renderer_blink_platform_impl.h File content/renderer/renderer_blink_platform_impl.h (right): https://codereview.chromium.org/1411843008/diff/40001/content/renderer/renderer_blink_platform_impl.h#newcode173 content/renderer/renderer_blink_platform_impl.h:173: double currentTime() override; On 2015/11/05 01:25:23, jochen wrote: ...
5 years, 1 month ago (2015-11-05 15:27:20 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411843008/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411843008/100001
5 years, 1 month ago (2015-11-05 15:27:56 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411843008/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411843008/120001
5 years, 1 month ago (2015-11-05 16:31:06 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/136519)
5 years, 1 month ago (2015-11-05 17:34:42 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411843008/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411843008/140001
5 years, 1 month ago (2015-11-05 17:57:43 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/91975)
5 years, 1 month ago (2015-11-05 19:19:59 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411843008/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411843008/140001
5 years, 1 month ago (2015-11-05 20:18:39 UTC) #33
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/92117)
5 years, 1 month ago (2015-11-05 22:21:50 UTC) #35
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-11-06 05:45:07 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411843008/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411843008/140001
5 years, 1 month ago (2015-11-06 08:24:33 UTC) #39
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-11-06 09:26:21 UTC) #40
commit-bot: I haz the power
5 years, 1 month ago (2015-11-06 09:27:09 UTC) #41
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/822562449e875d806b16d94fa4ee0167e2a2c78e
Cr-Commit-Position: refs/heads/master@{#358291}

Powered by Google App Engine
This is Rietveld 408576698