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

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

Issue 135843006: Improve Code object support in service and observatory (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/isolate_profile.html
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_profile.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_profile.html
index d477c0bc4acf832f16df228f54f327d9c81689d9..003ec8c4d02cb7a9d47dd1b94c1932512af778eb 100644
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_profile.html
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_profile.html
@@ -1,4 +1,5 @@
<head>
+ <link rel="import" href="code_ref.html">
<link rel="import" href="observatory_element.html">
</head>
<polymer-element name="isolate-profile" extends="observatory-element">
@@ -12,7 +13,7 @@
</select>
<span>methods</span>
</div>
- <blockquote><strong>Top Inclusive</strong></blockquote>
+ <blockquote><strong>Top Exclusive</strong></blockquote>
<table class="table table-hover">
<thead>
<tr>
@@ -22,13 +23,16 @@
</tr>
</thead>
<tbody>
- <tr template repeat="{{ code in topInclusiveCodes }}">
- <td>{{ codeTicks(code, true) }}</td>
- <td>{{ codePercent(code, true) }}</td>
- <td>{{ codeName(code) }}</td>
+ <tr template repeat="{{ code in topExclusiveCodes }}">
+ <td>{{ codeTicks(code, false) }}</td>
+ <td>{{ codePercent(code, false) }}</td>
+ <td>
+ <span>{{ codeName(code) }}</span>
+ <code-ref app="{{ app }}" ref="{{ code.codeRef }}"></code-ref>
+ </td>
</tr>
</table>
- <blockquote><strong>Top Exclusive</strong></blockquote>
+ <blockquote><strong>Top Inclusive</strong></blockquote>
<table class="table table-hover">
<thead>
<tr>
@@ -38,10 +42,13 @@
</tr>
</thead>
<tbody>
- <tr template repeat="{{ code in topExclusiveCodes }}">
- <td>{{ codeTicks(code, false) }}</td>
- <td>{{ codePercent(code, false) }}</td>
- <td>{{ codeName(code) }}</td>
+ <tr template repeat="{{ code in topInclusiveCodes }}">
+ <td>{{ codeTicks(code, true) }}</td>
+ <td>{{ codePercent(code, true) }}</td>
+ <td>
+ <span>{{ codeName(code) }}</span>
+ <code-ref app="{{ app }}" ref="{{ code.codeRef }}"></code-ref>
+ </td>
</tr>
</table>
</template>

Powered by Google App Engine
This is Rietveld 408576698