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..6df7cc8c15b252644eb1d9ec2fa7e29be96322d6 100644 |
--- a/ppapi/shared_impl/ppb_trace_event_impl.h |
+++ b/ppapi/shared_impl/ppb_trace_event_impl.h |
@@ -18,15 +18,29 @@ namespace ppapi { |
class PPAPI_SHARED_EXPORT TraceEventImpl { |
public: |
static void* GetCategoryEnabled(const char* category_name); |
- static void AddTraceEvent(int8_t phase, |
- const void* category_enabled, |
- const char* name, |
- uint64_t id, |
- uint32_t num_args, |
- const char* arg_names[], |
- const uint8_t arg_types[], |
- const uint64_t arg_values[], |
- uint8_t flags); |
+ static void AddTraceEvent( |
+ int8_t phase, |
+ const void* category_enabled, |
+ const char* name, |
+ uint64_t id, |
+ uint32_t num_args, |
+ const char* arg_names[], |
+ const uint8_t arg_types[], |
+ const uint64_t arg_values[], |
+ uint8_t flags); |
+ static void AddTraceEventWithThreadIdAndTimestamp( |
+ int8_t phase, |
+ 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 int64_t Now(); |
static void SetThreadName(const char* thread_name); |
}; |