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

Unified Diff: runtime/vm/timeline.h

Issue 1657843003: Output TimelineEventBlocks in sorted order (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | runtime/vm/timeline.cc » ('j') | 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 168956a25bb7d0ee9141fa36673cfc97f23d3292..5344f3bf4458bbc8399a5bc14076cf538ae4db76 100644
--- a/runtime/vm/timeline.h
+++ b/runtime/vm/timeline.h
@@ -94,7 +94,6 @@ class TimelineEvent {
// Keep in sync with StateBits below.
enum EventType {
kNone,
- kSerializedJSON, // Events from Dart code.
kBegin,
kEnd,
kDuration,
@@ -387,6 +386,10 @@ class TimelineEventScope : public StackResource {
return enabled_;
}
+ void set_enabled(bool enabled) {
+ enabled_ = enabled;
+ }
+
const char* label() const {
return label_;
}
« no previous file with comments | « no previous file | runtime/vm/timeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698