Index: runtime/observatory/lib/src/app/page.dart |
diff --git a/runtime/observatory/lib/src/app/page.dart b/runtime/observatory/lib/src/app/page.dart |
index e79f3dc40ac6dd97c3b4d34dbc60446f5aa105e7..8b0d535b9cbe0ecf8ebbea1fcc0cc54f9f024e75 100644 |
--- a/runtime/observatory/lib/src/app/page.dart |
+++ b/runtime/observatory/lib/src/app/page.dart |
@@ -204,6 +204,23 @@ class CpuProfilerPage extends SimplePage { |
} |
} |
+class TableCpuProfilerPage extends SimplePage { |
+ TableCpuProfilerPage(app) |
+ : super('profiler-table', 'cpu-profile-table', app); |
+ |
+ void _visit(Uri uri) { |
+ super._visit(uri); |
+ getIsolate(uri).then((isolate) { |
+ if (element != null) { |
+ /// Update the page. |
+ CpuProfileTableElement page = element; |
+ page.isolate = isolate; |
+ page.checkParameters(); |
+ } |
+ }); |
+ } |
+} |
+ |
class AllocationProfilerPage extends SimplePage { |
AllocationProfilerPage(app) |
: super('allocation-profiler', 'heap-profile', app); |