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

Unified Diff: ppapi/shared_impl/ppb_trace_event_impl.h

Issue 17555005: Add events with custom timestamps and thread id to PPAPI dev tracing interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: edits Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/shared_impl/ppb_trace_event_impl.h
diff --git a/ppapi/shared_impl/ppb_trace_event_impl.h b/ppapi/shared_impl/ppb_trace_event_impl.h
index 21a77acd6832bc1a4ed5da9764b2eeb0f6692f30..26f57f090fef0e0341eeb0025e2d39a59a98e23d 100644
--- a/ppapi/shared_impl/ppb_trace_event_impl.h
+++ b/ppapi/shared_impl/ppb_trace_event_impl.h
@@ -27,6 +27,17 @@ class PPAPI_SHARED_EXPORT TraceEventImpl {
const uint8_t arg_types[],
const uint64_t arg_values[],
uint8_t flags);
bradn 2013/06/21 21:49:18 Fix the indentation here.
grosse 2013/06/24 23:16:46 Done
+ static void AddTraceEventWithThreadIdAndTimestamp(int8_t phase,
bradn 2013/06/21 21:49:18 And here. See the style guide, you probably wan to
grosse 2013/06/24 23:16:46 Done
+ const void* category_enabled,
+ const char* name,
+ uint64_t id,
+ int32_t thread_id,
+ int64_t timestamp,
+ uint32_t num_args,
+ const char* arg_names[],
+ const uint8_t arg_types[],
+ const uint64_t arg_values[],
+ uint8_t flags);
static void SetThreadName(const char* thread_name);
};

Powered by Google App Engine
This is Rietveld 408576698