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

Issue 10913242: Trace PostTasks from post to run (Closed)

Created:
8 years, 3 months ago by jbates
Modified:
8 years, 3 months ago
CC:
chromium-reviews, darin (slow to review)
Visibility:
Public.

Description

Trace PostTasks from post to run. To do this properly, we need a new type of trace event "FLOW" which will be drawn as lines in about:tracing from BEGIN to END. Also instruments SequencedWorkerPool and ChannelReader::DispatchInputData, which were not currently traced. BUG=79942 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=157288

Patch Set 1 #

Total comments: 7

Patch Set 2 : jar feedback #

Patch Set 3 : added new trace event type for PostTask and IPC #

Patch Set 4 : minor tweak #

Total comments: 4

Patch Set 5 : merge + jar feedback #

Patch Set 6 : compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -41 lines) Patch
M base/debug/trace_event.h View 1 2 3 4 5 chunks +153 lines, -25 lines 0 comments Download
M base/message_loop.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M base/message_loop.cc View 1 2 4 chunks +20 lines, -7 lines 0 comments Download
M base/threading/sequenced_worker_pool.cc View 1 2 7 chunks +28 lines, -0 lines 0 comments Download
M ipc/ipc_channel_nacl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel_posix.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel_proxy.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ipc/ipc_channel_reader.cc View 1 2 3 4 5 2 chunks +14 lines, -1 line 0 comments Download
M ipc/ipc_channel_win.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_message.h View 1 2 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
jbates
jar: ptal https://chromiumcodereview.appspot.com/10913242/diff/1/base/message_loop.cc File base/message_loop.cc (left): https://chromiumcodereview.appspot.com/10913242/diff/1/base/message_loop.cc#oldcode489 base/message_loop.cc:489: PendingTask new_pending_task(pending_task); Bonus: one less copy of ...
8 years, 3 months ago (2012-09-13 01:36:32 UTC) #1
jar (doing other things)
https://chromiumcodereview.appspot.com/10913242/diff/1/base/message_loop.cc File base/message_loop.cc (right): https://chromiumcodereview.appspot.com/10913242/diff/1/base/message_loop.cc#newcode97 base/message_loop.cc:97: static_cast<uint64>(reinterpret_cast<intptr_t>(loop)); Have you considered that message loops might generally ...
8 years, 3 months ago (2012-09-13 02:14:48 UTC) #2
jbates
https://chromiumcodereview.appspot.com/10913242/diff/1/base/message_loop.cc File base/message_loop.cc (right): https://chromiumcodereview.appspot.com/10913242/diff/1/base/message_loop.cc#newcode97 base/message_loop.cc:97: static_cast<uint64>(reinterpret_cast<intptr_t>(loop)); On 2012/09/13 02:14:49, jar wrote: > Have you ...
8 years, 3 months ago (2012-09-13 17:07:01 UTC) #3
jar (doing other things)
Darin, Do you have any idea why all the slots in MessageLoop were made "protected?" ...
8 years, 3 months ago (2012-09-14 02:10:44 UTC) #4
darin (slow to review)
On Thu, Sep 13, 2012 at 7:10 PM, <jar@chromium.org> wrote: > Darin, > > Do ...
8 years, 3 months ago (2012-09-14 03:36:34 UTC) #5
jbates
jam: ipc/OWNERS https://chromiumcodereview.appspot.com/10913242/diff/9001/base/debug/trace_event.h File base/debug/trace_event.h (right): https://chromiumcodereview.appspot.com/10913242/diff/9001/base/debug/trace_event.h#newcode751 base/debug/trace_event.h:751: explicit ForceMangle(long id) : On 2012/09/14 02:10:44, ...
8 years, 3 months ago (2012-09-14 18:00:49 UTC) #6
jam
On 2012/09/14 18:00:49, jbates wrote: > jam: ipc/OWNERS I'm too overloaded with reviews and ipc/ ...
8 years, 3 months ago (2012-09-17 22:16:29 UTC) #7
jbates
cpu: ipc/OWNERS
8 years, 3 months ago (2012-09-17 22:19:24 UTC) #8
darin (slow to review)
LGTM for src/ipc/
8 years, 3 months ago (2012-09-17 23:18:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbates@chromium.org/10913242/11001
8 years, 3 months ago (2012-09-17 23:44:04 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-18 00:01:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbates@chromium.org/10913242/14005
8 years, 3 months ago (2012-09-18 00:33:04 UTC) #12
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
8 years, 3 months ago (2012-09-18 00:35:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbates@chromium.org/10913242/14005
8 years, 3 months ago (2012-09-18 00:37:59 UTC) #14
commit-bot: I haz the power
8 years, 3 months ago (2012-09-18 00:41:14 UTC) #15
Step "update" is always a major failure.
Look at the try server FAQ for more details.

Powered by Google App Engine
This is Rietveld 408576698