Index: base/trace_event/trace_event.h |
diff --git a/base/trace_event/trace_event.h b/base/trace_event/trace_event.h |
index 2c30b3340a2dd06edf8fcd8290ef96eee0412b16..140aa2c004bfebc7cca840875fa3b6d3b1dc144f 100644 |
--- a/base/trace_event/trace_event.h |
+++ b/base/trace_event/trace_event.h |
@@ -760,6 +760,20 @@ |
TRACE_EVENT_FLAG_ASYNC_TTS | TRACE_EVENT_FLAG_COPY, \ |
arg1_name, arg1_val, arg2_name, arg2_val) |
+#define TRACE_EVENT_NESTABLE_ASYNC_BEGIN_WITH_TIMESTAMP0(category_group, name, \ |
+ id, timestamp) \ |
+ INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ |
+ TRACE_EVENT_PHASE_NESTABLE_ASYNC_BEGIN, category_group, name, id, \ |
+ static_cast<int>(base::PlatformThread::CurrentId()), timestamp, \ |
+ TRACE_EVENT_FLAG_NONE) |
+ |
+#define TRACE_EVENT_NESTABLE_ASYNC_END_WITH_TIMESTAMP0(category_group, name, \ |
+ id, timestamp) \ |
+ INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ |
+ TRACE_EVENT_PHASE_NESTABLE_ASYNC_END, category_group, name, id, \ |
+ static_cast<int>(base::PlatformThread::CurrentId()), timestamp, \ |
+ TRACE_EVENT_FLAG_NONE) |
+ |
// Records a single NESTABLE_ASYNC_INSTANT event called "name" immediately, |
// with 2 associated arguments. If the category is not enabled, then this |
// does nothing. |