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

Issue 2761503002: [scheduler] CPUTimeBudgetPool: Require a minimal level of budget to run (Closed)

Created:
3 years, 9 months ago by altimin
Modified:
3 years, 9 months ago
CC:
chromium-reviews, blink-reviews, kinuko+watch, scheduler-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[scheduler] CPUTimeBudgetPool: Require a minimal level of budget to run Another refactoring for wakeup-based budget throttling. Add an option to require a certain minimal budget level to unblock CPUTimeBudgetPool. This is required to prevent situation when wakeup happens and TimeBudgetPool does not have budget to run tasks. BUG=699541 Review-Url: https://codereview.chromium.org/2761503002 Cr-Commit-Position: refs/heads/master@{#458428} Committed: https://chromium.googlesource.com/chromium/src/+/ba7dda2a1174b01ffa47e1de8afd38501d307f1b

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Total comments: 1

Patch Set 3 : Remove #include <*stream> #

Messages

Total messages: 12 (5 generated)
altimin
PTAL
3 years, 9 months ago (2017-03-17 18:55:47 UTC) #2
alex clarke (OOO till 29th)
https://codereview.chromium.org/2761503002/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc File third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc (right): https://codereview.chromium.org/2761503002/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc#newcode72 third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc:72: min_budget_level_to_run_ = min_budget_level_to_run; Do we expect this to get ...
3 years, 9 months ago (2017-03-20 09:03:03 UTC) #3
altimin
PTAL https://codereview.chromium.org/2761503002/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc File third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc (right): https://codereview.chromium.org/2761503002/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc#newcode72 third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc:72: min_budget_level_to_run_ = min_budget_level_to_run; On 2017/03/20 09:03:03, alex clarke ...
3 years, 9 months ago (2017-03-20 15:21:08 UTC) #4
alex clarke (OOO till 29th)
lgtm
3 years, 9 months ago (2017-03-21 08:35:21 UTC) #5
Sami
lgtm https://codereview.chromium.org/2761503002/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc File third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc (right): https://codereview.chromium.org/2761503002/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc#newcode9 third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc:9: #include <fstream> // FIXME Remove?
3 years, 9 months ago (2017-03-21 11:32:56 UTC) #6
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/2761503002/40001
3 years, 9 months ago (2017-03-21 14:33:42 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 16:04:09 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/ba7dda2a1174b01ffa47e1de8afd...

Powered by Google App Engine
This is Rietveld 408576698