Index: runtime/vm/class_table.cc |
diff --git a/runtime/vm/class_table.cc b/runtime/vm/class_table.cc |
index a096991ea9b1cd55ade96120a358e62bf05df664..b46bbe4027f2fb26ff9b5afae38a8cf772c5f066 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->timestamp_last_allocationprofile_accumulator_reset()); |
+ obj.AddPropertyF( |
+ "dateLastGC", |
koda
2014/06/17 21:04:07
Consider renaming GC -> ServiceGC or something to
Cutch
2014/06/18 14:35:04
Done.
|
+ "%" Pd64 "", |
+ isolate->timestamp_last_allocationprofile_gc()); |
+ |
{ |
JSONObject heaps(&obj, "heaps"); |
{ |