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

Issue 2430633003: TaskScheduler: Record TaskScheduler.NumTasksBeforeDetach.* from OnDetach(). (Closed)

Created:
4 years, 2 months ago by fdoray
Modified:
4 years, 2 months ago
Reviewers:
robliao, gab, rkaplow
CC:
chromium-reviews, gab+watch_chromium.org, robliao+watch_chromium.org, fdoray+watch_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

TaskScheduler: Record TaskScheduler.NumTasksBeforeDetach.* from OnDetach(). This CL introduces SchedulerWorker::Delegate::OnDetach() and records TaskScheduler.NumTasksBeforeDetach.* from this new method. BUG=553459 Committed: https://crrev.com/e5aefd3845b04c49e49c288f8519e8a0fd7e67c5 Cr-Commit-Position: refs/heads/master@{#426496}

Patch Set 1 #

Patch Set 2 : self-review #

Total comments: 5

Patch Set 3 : CR gab #3 rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -82 lines) Patch
M base/task_scheduler/scheduler_worker.h View 1 2 4 chunks +7 lines, -7 lines 0 comments Download
M base/task_scheduler/scheduler_worker.cc View 1 2 3 chunks +7 lines, -6 lines 0 comments Download
M base/task_scheduler/scheduler_worker_pool_impl.cc View 1 7 chunks +29 lines, -25 lines 0 comments Download
M base/task_scheduler/scheduler_worker_pool_impl_unittest.cc View 1 2 2 chunks +25 lines, -19 lines 0 comments Download
M base/task_scheduler/scheduler_worker_stack_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/task_scheduler/scheduler_worker_unittest.cc View 13 chunks +26 lines, -22 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
fdoray
PTAL
4 years, 2 months ago (2016-10-18 19:40:45 UTC) #2
gab
Awesome :), lgtm % comments https://codereview.chromium.org/2430633003/diff/20001/base/task_scheduler/scheduler_worker.h File base/task_scheduler/scheduler_worker.h (right): https://codereview.chromium.org/2430633003/diff/20001/base/task_scheduler/scheduler_worker.h#newcode41 base/task_scheduler/scheduler_worker.h:41: // a thread managed ...
4 years, 2 months ago (2016-10-19 18:12:23 UTC) #3
fdoray
gab@: Thanks rkaplow@: PTAL at histograms https://codereview.chromium.org/2430633003/diff/20001/base/task_scheduler/scheduler_worker.h File base/task_scheduler/scheduler_worker.h (right): https://codereview.chromium.org/2430633003/diff/20001/base/task_scheduler/scheduler_worker.h#newcode41 base/task_scheduler/scheduler_worker.h:41: // a thread ...
4 years, 2 months ago (2016-10-20 13:45:02 UTC) #5
rkaplow
lgtm lg assuming this is just improved wording. If it's a functional change consider replacing ...
4 years, 2 months ago (2016-10-20 14:11:15 UTC) #6
fdoray
On 2016/10/20 14:11:15, rkaplow wrote: > lgtm > > lg assuming this is just improved ...
4 years, 2 months ago (2016-10-20 14:33:33 UTC) #7
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/2430633003/40001
4 years, 2 months ago (2016-10-20 14:33:52 UTC) #10
rkaplow
lgtm ok sure. Just be careful you're not mixing data.
4 years, 2 months ago (2016-10-20 14:34:40 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-20 16:26:26 UTC) #12
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:18:56 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e5aefd3845b04c49e49c288f8519e8a0fd7e67c5
Cr-Commit-Position: refs/heads/master@{#426496}

Powered by Google App Engine
This is Rietveld 408576698