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

Issue 1929913002: [tracing] Add task execution event for sequenced worker pool (Closed)

Created:
4 years, 7 months ago by ssid
Modified:
4 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[tracing] Add task execution event for sequenced worker pool The sequenced worker pool tasks use a flow event while other task runners add without flow. So, instead of using TRACE_TASK_EXECUTION macro, add just the SCOPED_TASK_EXECUTION_EVENT part for these tasks. BUG=600440 Committed: https://crrev.com/90b03660f60165cb29a92eb0bba9b6d61812295b Cr-Commit-Position: refs/heads/master@{#393976}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove UID mangle on name. #

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M base/threading/sequenced_worker_pool.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
ssid
2 line change. ptal, thanks.
4 years, 7 months ago (2016-04-28 11:35:42 UTC) #2
ssid
friendly ping
4 years, 7 months ago (2016-05-04 01:39:53 UTC) #3
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1929913002/diff/1/base/threading/sequenced_worker_pool.cc File base/threading/sequenced_worker_pool.cc (right): https://codereview.chromium.org/1929913002/diff/1/base/threading/sequenced_worker_pool.cc#newcode813 base/threading/sequenced_worker_pool.cc:813: TRACE_EVENT_API_SCOPED_TASK_EXECUTION_EVENT INTERNAL_TRACE_EVENT_UID( you don't need EVENT INTERNAL_TRACE_EVENT_UID here. 1) ...
4 years, 7 months ago (2016-05-04 08:21:50 UTC) #5
ssid
Fixed it. Thanks, ptal. https://codereview.chromium.org/1929913002/diff/1/base/threading/sequenced_worker_pool.cc File base/threading/sequenced_worker_pool.cc (right): https://codereview.chromium.org/1929913002/diff/1/base/threading/sequenced_worker_pool.cc#newcode813 base/threading/sequenced_worker_pool.cc:813: TRACE_EVENT_API_SCOPED_TASK_EXECUTION_EVENT INTERNAL_TRACE_EVENT_UID( On 2016/05/04 08:21:50, ...
4 years, 7 months ago (2016-05-06 03:15:26 UTC) #6
Primiano Tucci (use gerrit)
Looks good from my side. Can I just ask +skyostil, +fdoray to take a look ...
4 years, 7 months ago (2016-05-06 10:22:03 UTC) #8
Sami
lgtm, although I wish TRACE_EVENT_API_SCOPED_TASK_EXECUTION_EVENT had a name which made it obvious it's only for ...
4 years, 7 months ago (2016-05-06 10:25:45 UTC) #9
Primiano Tucci (use gerrit)
On 2016/05/06 10:25:45, Sami wrote: > lgtm, although I wish TRACE_EVENT_API_SCOPED_TASK_EXECUTION_EVENT had a name > ...
4 years, 7 months ago (2016-05-06 11:20:08 UTC) #10
fdoray
The CL's description says that this "adds task execution event for sequenced worker pool", but ...
4 years, 7 months ago (2016-05-06 15:52:21 UTC) #11
ssid
On 2016/05/06 15:52:21, fdoray wrote: > The CL's description says that this "adds task execution ...
4 years, 7 months ago (2016-05-06 17:28:25 UTC) #12
fdoray
lgtm The code works but I think we should use TRACE_TASK_EXECUTION+TaskAnnotator like MessageLoop does to ...
4 years, 7 months ago (2016-05-06 17:43:55 UTC) #13
ssid
On 2016/05/06 17:43:55, fdoray wrote: > lgtm The code works but I think we should ...
4 years, 7 months ago (2016-05-13 18:35:28 UTC) #14
ssid
@Nico: Please take a look at this CL. This CL just adds a trace event. ...
4 years, 7 months ago (2016-05-13 18:37:05 UTC) #15
ssid
On 2016/05/13 18:37:05, ssid wrote: > @Nico: Please take a look at this CL. > ...
4 years, 7 months ago (2016-05-13 18:37:55 UTC) #16
Nico
lgtm
4 years, 7 months ago (2016-05-16 21:10:20 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1929913002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1929913002/40001
4 years, 7 months ago (2016-05-16 21:12:12 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-16 22:49:58 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1929913002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1929913002/40001
4 years, 7 months ago (2016-05-16 23:14:18 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-16 23:18:27 UTC) #25
commit-bot: I haz the power
4 years, 7 months ago (2016-05-16 23:20:22 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/90b03660f60165cb29a92eb0bba9b6d61812295b
Cr-Commit-Position: refs/heads/master@{#393976}

Powered by Google App Engine
This is Rietveld 408576698