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

Unified Diff: runtime/lib/timeline.cc

Issue 1533323004: Support narrowing a timeline to a given time window (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/observatory/tests/service/get_vm_timeline_rpc_test.dart » ('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 f0e5982bd5b0878a11806fc18c3c9c7e3062d41f..f62a8a722828e53294dab781c1042d9f27de618a 100644
--- a/runtime/lib/timeline.cc
+++ b/runtime/lib/timeline.cc
@@ -77,7 +77,7 @@ DEFINE_NATIVE_ENTRY(Timeline_reportTaskEvent, 6) {
return Object::null();
}
// json was allocated in the zone and a copy will be stored in event.
- event->SerializedJSON(json);
+ event->SerializedJSON(json, start.AsInt64Value(), id.AsInt64Value());
event->Complete();
return Object::null();
@@ -124,7 +124,7 @@ DEFINE_NATIVE_ENTRY(Timeline_reportCompleteEvent, 5) {
return Object::null();
}
// json was allocated in the zone and a copy will be stored in event.
- event->SerializedJSON(json);
+ event->SerializedJSON(json, start.AsInt64Value(), end.AsInt64Value());
event->Complete();
return Object::null();
@@ -168,7 +168,7 @@ DEFINE_NATIVE_ENTRY(Timeline_reportInstantEvent, 4) {
return Object::null();
}
// json was allocated in the zone and a copy will be stored in event.
- event->SerializedJSON(json);
+ event->SerializedJSON(json, start.AsInt64Value(), 0);
event->Complete();
return Object::null();
« no previous file with comments | « no previous file | runtime/observatory/tests/service/get_vm_timeline_rpc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698