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

Unified Diff: runtime/bin/vmservice/client/lib/src/service/object.dart

Issue 353003005: Display average time between collections (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/lib/src/elements/heap_profile.html ('k') | runtime/vm/pages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/lib/src/service/object.dart
diff --git a/runtime/bin/vmservice/client/lib/src/service/object.dart b/runtime/bin/vmservice/client/lib/src/service/object.dart
index d63afa36846e2714e1f809e749e331ae2d9a5552..93356a4bf46dbd4b48742932936a90c5e2af3954 100644
--- a/runtime/bin/vmservice/client/lib/src/service/object.dart
+++ b/runtime/bin/vmservice/client/lib/src/service/object.dart
@@ -495,6 +495,7 @@ class HeapSpace extends Observable {
@observable int external = 0;
@observable int collections = 0;
@observable double totalCollectionTimeInSeconds = 0.0;
+ @observable double averageCollectionPeriodInMillis = 0.0;
void update(Map heapMap) {
used = heapMap['used'];
@@ -502,6 +503,7 @@ class HeapSpace extends Observable {
external = heapMap['external'];
collections = heapMap['collections'];
totalCollectionTimeInSeconds = heapMap['time'];
+ averageCollectionPeriodInMillis = heapMap['avgCollectionPeriodMillis'];
}
}
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/elements/heap_profile.html ('k') | runtime/vm/pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698