Index: runtime/vm/class_table.cc |
diff --git a/runtime/vm/class_table.cc b/runtime/vm/class_table.cc |
index a096991ea9b1cd55ade96120a358e62bf05df664..a21be6b3e22f3e02a3ca2663481bea808387a5a0 100644 |
--- a/runtime/vm/class_table.cc |
+++ b/runtime/vm/class_table.cc |
@@ -333,6 +333,15 @@ void ClassTable::AllocationProfilePrintJSON(JSONStream* stream) { |
JSONObject obj(stream); |
obj.AddProperty("type", "AllocationProfile"); |
obj.AddProperty("id", "allocationprofile"); |
+ obj.AddPropertyF( |
+ "dateLastAccumulatorReset", |
+ "%" Pd64 "", |
+ isolate->last_allocationprofile_accumulator_reset_timestamp()); |
+ obj.AddPropertyF( |
+ "dateLastServiceGC", |
+ "%" Pd64 "", |
+ isolate->last_allocationprofile_gc_timestamp()); |
+ |
{ |
JSONObject heaps(&obj, "heaps"); |
{ |