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

Issue 17555005: Add events with custom timestamps and thread id to PPAPI dev tracing interface. (Closed)

Created:
7 years, 6 months ago by grosse
Modified:
7 years, 6 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, raymes+watch_chromium.org, yzshen+watch_chromium.org, piman+watch_chromium.org, erikwright+watch_chromium.org, ihf+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add events with custom timestamps and thread id to PPAPI dev tracing interface. This exposes the AddTraceEventWithThreadIdAndTimestamp function, which may be helpful for in-module profiling of NaCl applications. BUG=none NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208738

Patch Set 1 #

Patch Set 2 : edits #

Total comments: 14

Patch Set 3 : clock function #

Total comments: 21

Patch Set 4 : Change comments, expose 0.1 interface #

Patch Set 5 : Add COMPILE_ASSERT #

Patch Set 6 : Use correct timer #

Total comments: 4

Patch Set 7 : Add typedef for timestamps #

Patch Set 8 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -26 lines) Patch
M base/debug/trace_event_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/api/dev/ppb_trace_event_dev.idl View 1 2 3 4 5 6 2 chunks +35 lines, -1 line 0 comments Download
M ppapi/c/dev/ppb_trace_event_dev.h View 1 2 3 4 5 6 4 chunks +54 lines, -4 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/shared_impl/ppb_trace_event_impl.h View 1 2 1 chunk +23 lines, -9 lines 0 comments Download
M ppapi/shared_impl/ppb_trace_event_impl.cc View 1 2 3 4 5 6 4 chunks +59 lines, -11 lines 0 comments Download
A ppapi/tests/test_trace_event.h View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
A ppapi/tests/test_trace_event.cc View 1 2 3 4 1 chunk +65 lines, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
grosse
dmichael as ppapi OWNER dsinclair as base/debug OWNER I am working on profiling in NaCl, ...
7 years, 6 months ago (2013-06-21 21:21:37 UTC) #1
bradn
https://codereview.chromium.org/17555005/diff/2001/ppapi/shared_impl/ppb_trace_event_impl.cc File ppapi/shared_impl/ppb_trace_event_impl.cc (right): https://codereview.chromium.org/17555005/diff/2001/ppapi/shared_impl/ppb_trace_event_impl.cc#newcode32 ppapi/shared_impl/ppb_trace_event_impl.cc:32: const void* category_enabled, Fix the identation https://codereview.chromium.org/17555005/diff/2001/ppapi/shared_impl/ppb_trace_event_impl.cc#newcode52 ppapi/shared_impl/ppb_trace_event_impl.cc:52: const ...
7 years, 6 months ago (2013-06-21 21:49:17 UTC) #2
dsinclair
On 2013/06/21 21:21:37, grosse wrote: > dmichael as ppapi OWNER > dsinclair as base/debug OWNER ...
7 years, 6 months ago (2013-06-22 01:29:55 UTC) #3
bradn
LGTM https://codereview.chromium.org/17555005/diff/21001/ppapi/tests/test_dev_trace_event.cc File ppapi/tests/test_dev_trace_event.cc (right): https://codereview.chromium.org/17555005/diff/21001/ppapi/tests/test_dev_trace_event.cc#newcode44 ppapi/tests/test_dev_trace_event.cc:44: interface_->AddTraceEventWithThreadIdAndTimestamp('B', cat_enabled, "foo", 0, Nit, maybe wrap these ...
7 years, 6 months ago (2013-06-22 16:09:24 UTC) #4
dmichael (off chromium)
https://codereview.chromium.org/17555005/diff/21001/ppapi/api/dev/ppb_trace_event_dev.idl File ppapi/api/dev/ppb_trace_event_dev.idl (right): https://codereview.chromium.org/17555005/diff/21001/ppapi/api/dev/ppb_trace_event_dev.idl#newcode60 ppapi/api/dev/ppb_trace_event_dev.idl:60: [in] int64_t timestamp, Do you plan to ever pass ...
7 years, 6 months ago (2013-06-24 17:43:42 UTC) #5
elijahtaylor1
https://codereview.chromium.org/17555005/diff/21001/ppapi/api/dev/ppb_trace_event_dev.idl File ppapi/api/dev/ppb_trace_event_dev.idl (right): https://codereview.chromium.org/17555005/diff/21001/ppapi/api/dev/ppb_trace_event_dev.idl#newcode47 ppapi/api/dev/ppb_trace_event_dev.idl:47: * Adds a trace event to the platform tracing ...
7 years, 6 months ago (2013-06-24 21:04:17 UTC) #6
grosse
https://codereview.chromium.org/17555005/diff/2001/ppapi/shared_impl/ppb_trace_event_impl.cc File ppapi/shared_impl/ppb_trace_event_impl.cc (right): https://codereview.chromium.org/17555005/diff/2001/ppapi/shared_impl/ppb_trace_event_impl.cc#newcode32 ppapi/shared_impl/ppb_trace_event_impl.cc:32: const void* category_enabled, On 2013/06/21 21:49:18, bradn wrote: > ...
7 years, 6 months ago (2013-06-24 23:16:46 UTC) #7
nduca
dsinclair can review in my place. this is exciting work, folks. :)
7 years, 6 months ago (2013-06-25 07:43:39 UTC) #8
dmichael (off chromium)
https://codereview.chromium.org/17555005/diff/21001/ppapi/api/dev/ppb_trace_event_dev.idl File ppapi/api/dev/ppb_trace_event_dev.idl (right): https://codereview.chromium.org/17555005/diff/21001/ppapi/api/dev/ppb_trace_event_dev.idl#newcode60 ppapi/api/dev/ppb_trace_event_dev.idl:60: [in] int64_t timestamp, On 2013/06/24 23:16:46, grosse wrote: > ...
7 years, 6 months ago (2013-06-25 21:01:56 UTC) #9
bradn
Robert's actually got the wrong timer function here (which I managed to miss). The timer ...
7 years, 6 months ago (2013-06-25 21:21:51 UTC) #10
grosse
On 2013/06/25 21:21:51, bradn wrote: > Robert's actually got the wrong timer function here (which ...
7 years, 6 months ago (2013-06-25 21:57:58 UTC) #11
dmichael (off chromium)
lgtm https://codereview.chromium.org/17555005/diff/93001/ppapi/api/dev/ppb_trace_event_dev.idl File ppapi/api/dev/ppb_trace_event_dev.idl (right): https://codereview.chromium.org/17555005/diff/93001/ppapi/api/dev/ppb_trace_event_dev.idl#newcode59 ppapi/api/dev/ppb_trace_event_dev.idl:59: [in] int64_t timestamp, What do you think of ...
7 years, 6 months ago (2013-06-25 22:19:27 UTC) #12
grosse
https://codereview.chromium.org/17555005/diff/93001/ppapi/api/dev/ppb_trace_event_dev.idl File ppapi/api/dev/ppb_trace_event_dev.idl (right): https://codereview.chromium.org/17555005/diff/93001/ppapi/api/dev/ppb_trace_event_dev.idl#newcode59 ppapi/api/dev/ppb_trace_event_dev.idl:59: [in] int64_t timestamp, On 2013/06/25 22:19:27, dmichael wrote: > ...
7 years, 6 months ago (2013-06-25 23:16:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grosse@chromium.org/17555005/109001
7 years, 6 months ago (2013-06-25 23:19:48 UTC) #14
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=12323
7 years, 6 months ago (2013-06-26 00:48:33 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grosse@chromium.org/17555005/109001
7 years, 6 months ago (2013-06-26 02:20:52 UTC) #16
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=12376
7 years, 6 months ago (2013-06-26 02:31:00 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grosse@chromium.org/17555005/109001
7 years, 6 months ago (2013-06-26 16:16:59 UTC) #18
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=12450
7 years, 6 months ago (2013-06-26 16:27:01 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grosse@chromium.org/17555005/134001
7 years, 6 months ago (2013-06-26 16:43:35 UTC) #20
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=12467
7 years, 6 months ago (2013-06-26 16:54:49 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grosse@chromium.org/17555005/134001
7 years, 6 months ago (2013-06-26 18:05:57 UTC) #22
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=12505
7 years, 6 months ago (2013-06-26 18:16:24 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grosse@chromium.org/17555005/134001
7 years, 6 months ago (2013-06-26 18:21:25 UTC) #24
commit-bot: I haz the power
7 years, 6 months ago (2013-06-26 18:22:00 UTC) #25
Message was sent while issue was closed.
Change committed as 208738

Powered by Google App Engine
This is Rietveld 408576698