Index: base/debug/trace_event_impl.h |
diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h |
index 33e782c04a57455562630ec196236617c846c4d8..8c0efe9c71b68393ff72b1b7e35d8dda5a680c27 100644 |
--- a/base/debug/trace_event_impl.h |
+++ b/base/debug/trace_event_impl.h |
@@ -280,6 +280,19 @@ class BASE_EXPORT TraceLog { |
const char* name, |
const void* id, |
const std::string& extra); |
+ int AddTraceEventExplicit(char phase, |
+ const unsigned char* category_enabled, |
+ const char* name, |
+ int thread_id, |
+ int64 timestamp, |
+ unsigned long long id, |
jar (doing other things)
2012/12/06 17:28:59
nit: Why do we use long long rather than int64 (or
dsinclair
2012/12/06 17:38:52
I used it here to keep consistent with the existin
|
+ int num_args, |
+ const char** arg_names, |
+ const unsigned char* arg_types, |
+ const unsigned long long* arg_values, |
+ int threshold_begin_id, |
+ long long threshold, |
+ unsigned char flags); |
// For every matching event, a notification will be fired. NOTE: the |
// notification will fire for each matching event that has already occurred |
@@ -366,6 +379,21 @@ class BASE_EXPORT TraceLog { |
static void ApplyATraceEnabledFlag(unsigned char* category_enabled); |
#endif |
+ int AddTraceEventInternal(NotificationHelper& notifier, |
+ TimeTicks timestamp, |
+ char phase, |
+ const unsigned char* category_enabled, |
+ const char* name, |
+ int thread_id, |
+ unsigned long long id, |
+ int num_args, |
+ const char** arg_names, |
+ const unsigned char* arg_types, |
+ const unsigned long long* arg_values, |
+ int threshold_begin_id, |
+ long long threshold, |
+ unsigned char flags); |
+ |
// TODO(nduca): switch to per-thread trace buffers to reduce thread |
// synchronization. |
// This lock protects TraceLog member accesses from arbitrary threads. |