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

Unified Diff: runtime/observatory/lib/src/elements/heap_profile.dart

Issue 928833003: Add Function based profile tree (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/observatory/lib/src/elements/heap_profile.dart
diff --git a/runtime/observatory/lib/src/elements/heap_profile.dart b/runtime/observatory/lib/src/elements/heap_profile.dart
index c77f67394a7264a201e2d40ddbcb7929864de0bc..2cac03f55e1e2741be92f57f3837ac218a63f991 100644
--- a/runtime/observatory/lib/src/elements/heap_profile.dart
+++ b/runtime/observatory/lib/src/elements/heap_profile.dart
@@ -102,13 +102,13 @@ class HeapProfileElement extends ObservatoryElement {
_subscription.cancel((){});
super.detached();
}
-
+
void _onEvent(ServiceEvent event) {
if (autoRefresh && event.eventType == 'GC') {
refresh((){});
}
}
-
+
void _updatePieCharts() {
assert(profile != null);
_newPieDataTable.clearRows();
« no previous file with comments | « runtime/observatory/lib/src/elements/function_ref.html ('k') | runtime/observatory/lib/src/elements/observatory_element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698