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

Issue 1229573004: cc: Simplify and rename MainThreadIsInHighLatency logic (Closed)

Created:
5 years, 5 months ago by brianderson
Modified:
5 years, 5 months ago
Reviewers:
sunnyps, mithro-old
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@ignoreFirstDraws4
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Simplify and rename MainThreadIsInHighLatency logic Instead of inferring if the main thread is in a high latency mode or not based on many other variables, track it explicitly at the end of the BeginImplFrame deadline. Also rename MainThreadIsHighLatency to main_thread_missed_last_deadline so it's clearer what that variable means exactly. BUG=406158 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/fa55c285c4aa5a05ecfc157b340b4bb8117c5c57 Cr-Commit-Position: refs/heads/master@{#339695}

Patch Set 1 #

Patch Set 2 : Update naming and conventions #

Total comments: 1

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -90 lines) Patch
M cc/scheduler/scheduler.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 2 7 chunks +19 lines, -43 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 19 chunks +40 lines, -41 lines 0 comments Download
M cc/test/scheduler_test_common.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
brianderson
wdyt?
5 years, 5 months ago (2015-07-08 01:00:06 UTC) #2
mithro-old
LGTM. I think this makes a lot of sense. How does it effect the tests? ...
5 years, 5 months ago (2015-07-08 03:06:22 UTC) #3
brianderson
All tests pass without modification. I updated the naming too.
5 years, 5 months ago (2015-07-09 21:44:25 UTC) #4
mithro-old
Still LGTM :)
5 years, 5 months ago (2015-07-13 01:25:13 UTC) #5
sunnyps
LGTM https://codereview.chromium.org/1229573004/diff/20001/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (right): https://codereview.chromium.org/1229573004/diff/20001/cc/scheduler/scheduler_state_machine.cc#newcode1125 cc/scheduler/scheduler_state_machine.cc:1125: main_thread_missed_last_deadline_ = false; It looks like we need ...
5 years, 5 months ago (2015-07-13 20:03:09 UTC) #6
commit-bot: I haz the power
This CL has an open dependency (Issue 1203203003 Patch 40001). Please resolve the dependency and ...
5 years, 5 months ago (2015-07-20 07:24:18 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229573004/20001
5 years, 5 months ago (2015-07-20 07:24:48 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/75450)
5 years, 5 months ago (2015-07-20 07:26:08 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229573004/40001
5 years, 5 months ago (2015-07-20 23:17:41 UTC) #17
commit-bot: I haz the power
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/110358) linux_arm_compile on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 5 months ago (2015-07-20 23:40:30 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229573004/40001
5 years, 5 months ago (2015-07-21 17:07:53 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-07-21 18:07:35 UTC) #22
commit-bot: I haz the power
5 years, 5 months ago (2015-07-21 18:08:31 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fa55c285c4aa5a05ecfc157b340b4bb8117c5c57
Cr-Commit-Position: refs/heads/master@{#339695}

Powered by Google App Engine
This is Rietveld 408576698