Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(696)

Unified Diff: runtime/vm/timeline.h

Issue 1813053005: Fix to ensure the product mode builds again. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: code-review-comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/heap.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
#endif // !PRODUCT
// See |TimelineDurationScope| and |TimelineBeginEndScope|.
« no previous file with comments | « runtime/vm/heap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698