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

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
« no previous file with comments | « runtime/bin/vmservice/client/web/index_devtools.html ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
{
« no previous file with comments | « runtime/bin/vmservice/client/web/index_devtools.html ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698