Chromium Code Reviews| Index: runtime/vm/timeline.h |
| diff --git a/runtime/vm/timeline.h b/runtime/vm/timeline.h |
| index ca683e717c0c3d4d7064a90ce521a060b5c03588..f16056e956288d8091fce2f4f8727fecfaa0c33b 100644 |
| --- a/runtime/vm/timeline.h |
| +++ b/runtime/vm/timeline.h |
| @@ -387,8 +387,12 @@ class TimelineStream { |
| "function", \ |
| function.ToLibNamePrefixedQualifiedCString()); \ |
| } |
| + |
| +#define TIMELINE_FUNCTION_GC_DURATION(thread, name) \ |
| + TimelineDurationScope tds(thread, Timeline::GetGCStream(), name); |
| #else |
| #define TIMELINE_FUNCTION_COMPILATION_DURATION(thread, name, function) |
| +#define TIMELINE_FUNCTION_GC_DURATION(thread, name) |
|
rmacnak
2016/03/18 21:18:02
Switch the collectnew/collectold events to this ma
siva
2016/03/18 21:23:06
Done.
|
| #endif // !PRODUCT |
| // See |TimelineDurationScope| and |TimelineBeginEndScope|. |