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

Unified Diff: runtime/lib/timeline.cc

Issue 1545853002: Handle duration events when filtering the timeline for a time range (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/timeline.cc
diff --git a/runtime/lib/timeline.cc b/runtime/lib/timeline.cc
index f62a8a722828e53294dab781c1042d9f27de618a..8410f1bb5074f9f018cc829ba1283ba608c9d48d 100644
--- a/runtime/lib/timeline.cc
+++ b/runtime/lib/timeline.cc
@@ -125,6 +125,7 @@ DEFINE_NATIVE_ENTRY(Timeline_reportCompleteEvent, 5) {
}
// json was allocated in the zone and a copy will be stored in event.
event->SerializedJSON(json, start.AsInt64Value(), end.AsInt64Value());
+ event->SetSerializedJSONIsDuration(true);
event->Complete();
return Object::null();
« no previous file with comments | « no previous file | runtime/vm/timeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698