Index: runtime/vm/service.cc |
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc |
index a517f21c1336952ecd5fd4c8cf688d5d8df1de74..2da04ef244fc93d31081a29967e2ad11bc0fe4e5 100644 |
--- a/runtime/vm/service.cc |
+++ b/runtime/vm/service.cc |
@@ -984,6 +984,7 @@ void Service::SendEchoEvent(Isolate* isolate, const char* text) { |
if (text != NULL) { |
event.AddProperty("text", text); |
} |
+ event.AddPropertyTimeMillis("timestamp", OS::GetCurrentTimeMillis()); |
} |
} |
} |
@@ -2543,6 +2544,7 @@ void Service::SendGraphEvent(Isolate* isolate) { |
event.AddProperty("type", "Event"); |
event.AddProperty("kind", "_Graph"); |
event.AddProperty("isolate", isolate); |
+ event.AddPropertyTimeMillis("timestamp", OS::GetCurrentTimeMillis()); |
event.AddProperty("chunkIndex", i); |
event.AddProperty("chunkCount", num_chunks); |
@@ -2875,7 +2877,7 @@ static bool GetVM(Isolate* isolate, JSONStream* js) { |
jsobj.AddProperty("_typeChecksEnabled", isolate->flags().type_checks()); |
int64_t start_time_millis = (Dart::vm_isolate()->start_time() / |
kMicrosecondsPerMillisecond); |
- jsobj.AddProperty64("startTime", start_time_millis); |
+ jsobj.AddPropertyTimeMillis("startTime", start_time_millis); |
// Construct the isolate list. |
{ |
JSONArray jsarr(&jsobj, "isolates"); |