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

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

Issue 886353006: Port metrics to RPC (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/metrics.dart
diff --git a/runtime/observatory/lib/src/elements/metrics.dart b/runtime/observatory/lib/src/elements/metrics.dart
index d1e4c6671724dc1f5d596a40387c555a1c866d72..00b154457a2d6c9e151a207f36d779b15f88a795 100644
--- a/runtime/observatory/lib/src/elements/metrics.dart
+++ b/runtime/observatory/lib/src/elements/metrics.dart
@@ -4,7 +4,6 @@
library metrics;
-import 'dart:async';
import 'dart:html';
import 'observatory_element.dart';
import 'package:observatory/app.dart';
@@ -28,7 +27,7 @@ class MetricsPageElement extends ObservatoryElement {
(page.selectedMetricId != null)) {
selectedMetric = isolate.dartMetrics[page.selectedMetricId];
if (selectedMetric == null) {
- selectedMetric = isolate.vmMetrics[page.selectedMetricId];
+ selectedMetric = isolate.nativeMetrics[page.selectedMetricId];
}
}
if ((selectedMetric == null) && (isolate != null)) {
@@ -61,7 +60,7 @@ class MetricsPageElement extends ObservatoryElement {
selectedMetric = isolate.dartMetrics[id];
if (selectedMetric == null) {
// Check VM metrics.
- selectedMetric = isolate.vmMetrics[id];
+ selectedMetric = isolate.nativeMetrics[id];
}
if (selectedMetric != null) {
page.selectedMetricId = id;
« no previous file with comments | « runtime/observatory/lib/src/elements/error_ref.dart ('k') | runtime/observatory/lib/src/elements/metrics.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698