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

Issue 2591773002: [cc] BackToBackBFS: Disable time source if all pending observers removed (Closed)

Created:
4 years ago by Eric Seckler
Modified:
4 years ago
Reviewers:
brianderson
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[cc] BackToBackBFS: Disable time source if all pending observers removed Currently, we activate the time source as soon as one observer becomes pending. If that observer is removed, the time source may currently do an unneccessary tick, because we only deactivate the time source if all observers were removed. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/a4a4acddee1984279411cbe73737e849924e9a8b Cr-Commit-Position: refs/heads/master@{#439841}

Patch Set 1 #

Total comments: 2

Patch Set 2 : add DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M cc/scheduler/begin_frame_source.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M cc/scheduler/begin_frame_source_unittest.cc View 3 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (15 generated)
Eric Seckler
Brian, this is the extracted change from https://codereview.chromium.org/2583483002/. It affects sequence numbering in the tests ...
4 years ago (2016-12-20 14:24:02 UTC) #5
brianderson
lgtm https://codereview.chromium.org/2591773002/diff/1/cc/scheduler/begin_frame_source.cc File cc/scheduler/begin_frame_source.cc (right): https://codereview.chromium.org/2591773002/diff/1/cc/scheduler/begin_frame_source.cc#newcode96 cc/scheduler/begin_frame_source.cc:96: void BackToBackBeginFrameSource::OnTimerTick() { Would it make sense to ...
4 years ago (2016-12-20 16:37:36 UTC) #8
Eric Seckler
https://codereview.chromium.org/2591773002/diff/1/cc/scheduler/begin_frame_source.cc File cc/scheduler/begin_frame_source.cc (right): https://codereview.chromium.org/2591773002/diff/1/cc/scheduler/begin_frame_source.cc#newcode96 cc/scheduler/begin_frame_source.cc:96: void BackToBackBeginFrameSource::OnTimerTick() { On 2016/12/20 16:37:36, brianderson wrote: > ...
4 years ago (2016-12-20 16:43:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2591773002/20001
4 years ago (2016-12-20 17:57:01 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-20 18:03:48 UTC) #19
commit-bot: I haz the power
4 years ago (2016-12-20 18:05:38 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a4a4acddee1984279411cbe73737e849924e9a8b
Cr-Commit-Position: refs/heads/master@{#439841}

Powered by Google App Engine
This is Rietveld 408576698