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

Issue 2392903002: Add a task_scheduler tracing category which will record an extra event per task. (Closed)

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

Description

Add a task_scheduler tracing category which will record an extra event per task. That event will contain ExecutionMode/SequenceToken and TaskPriority. It would be better to tack an optional extra arg to the main task event but tracing doesn't currently allow this (http://crbug.com/652692). BUG=649084 Committed: https://crrev.com/b7555076c5684f2679c0f63be683cde91cf6e215 Cr-Commit-Position: refs/heads/master@{#423681}

Patch Set 1 #

Patch Set 2 : cleaner order #

Total comments: 10

Patch Set 3 : merge up to r422907 #

Patch Set 4 : review:fdoray#10 #

Total comments: 4

Patch Set 5 : review:danakj#19 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -19 lines) Patch
M base/sequence_token.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M base/sequence_token.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M base/sequence_token_unittest.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M base/task_scheduler/task_tracker.cc View 1 2 3 4 3 chunks +51 lines, -0 lines 0 comments Download
M base/task_scheduler/task_traits.h View 1 2 3 1 chunk +11 lines, -3 lines 0 comments Download
M base/task_scheduler/task_traits.cc View 1 2 3 2 chunks +44 lines, -16 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
gab
Francois PTAL, thanks!
4 years, 2 months ago (2016-10-04 20:28:05 UTC) #4
fdoray
https://codereview.chromium.org/2392903002/diff/40001/base/sequence_token.h File base/sequence_token.h (right): https://codereview.chromium.org/2392903002/diff/40001/base/sequence_token.h#newcode34 base/sequence_token.h:34: // Returns a string with a number uniquely representing ...
4 years, 2 months ago (2016-10-05 12:39:40 UTC) #10
gab
Thanks, done, PTAnL. https://codereview.chromium.org/2392903002/diff/40001/base/sequence_token.h File base/sequence_token.h (right): https://codereview.chromium.org/2392903002/diff/40001/base/sequence_token.h#newcode34 base/sequence_token.h:34: // Returns a string with a ...
4 years, 2 months ago (2016-10-05 20:12:43 UTC) #11
fdoray
lgtm
4 years, 2 months ago (2016-10-05 20:27:19 UTC) #14
gab
Thanks @danakj for OWNERS
4 years, 2 months ago (2016-10-05 20:52:10 UTC) #16
danakj
LGTM https://codereview.chromium.org/2392903002/diff/80001/base/task_scheduler/task_tracker.cc File base/task_scheduler/task_tracker.cc (right): https://codereview.chromium.org/2392903002/diff/80001/base/task_scheduler/task_tracker.cc#newcode38 base/task_scheduler/task_tracker.cc:38: // Overridden from trace_event::ConvertableToTraceFormat: nit: normally written as ...
4 years, 2 months ago (2016-10-05 23:26:52 UTC) #19
gab
Thanks, done. https://codereview.chromium.org/2392903002/diff/80001/base/task_scheduler/task_tracker.cc File base/task_scheduler/task_tracker.cc (right): https://codereview.chromium.org/2392903002/diff/80001/base/task_scheduler/task_tracker.cc#newcode38 base/task_scheduler/task_tracker.cc:38: // Overridden from trace_event::ConvertableToTraceFormat: On 2016/10/05 23:26:52, ...
4 years, 2 months ago (2016-10-06 19:13:53 UTC) #20
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/2392903002/100001
4 years, 2 months ago (2016-10-06 19:15:57 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 2 months ago (2016-10-06 21:16:52 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 21:20:11 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b7555076c5684f2679c0f63be683cde91cf6e215
Cr-Commit-Position: refs/heads/master@{#423681}

Powered by Google App Engine
This is Rietveld 408576698