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

Unified Diff: runtime/vm/class_table.cc

Issue 342513004: Visual refresh of allocation profile page (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 months 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
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");
{

Powered by Google App Engine
This is Rietveld 408576698