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

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html

Issue 51653006: Track live instance and allocation counts for classes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html
index f71680767edfd756daa4800bb556970894f31752..130dba6c4dc0a1ce54a5619492e165fdd4df2767 100644
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html
@@ -5,6 +5,7 @@
<link rel="import" href="error_view.html">
<link rel="import" href="field_view.html">
<link rel="import" href="function_view.html">
+ <link rel="import" href="heap_profile.html">
<link rel="import" href="instance_view.html">
<link rel="import" href="isolate_list.html">
<link rel="import" href="json_view.html">
@@ -69,6 +70,9 @@
<template if="{{ messageType == 'Script' }}">
<script-view app="{{ app }}" script="{{ message['script'] }}"></script-view>
</template>
+ <template if="{{ messageType == 'AllocationProfile' }}">
+ <heap-profile app="{{ app }}" profile="{{ message }}"></heap-profile>
+ </template>
<template if="{{ messageType == 'CPU' }}">
<json-view json="{{ message }}"></json-view>
</template>

Powered by Google App Engine
This is Rietveld 408576698