Chromium Code Reviews| 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..5e134904eafc36262593198cb157b8a419e9b740 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) \ |
|
Sami
2015/05/27 12:11:56
Was this git cl format? I wonder if we should be f
rmcilroy
2015/05/27 19:17:05
Yeah this was git cl format. Went back to old form
|
| + 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. |