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

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

Issue 168833005: Add callers and callees to profiler output (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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/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 f8e4328bf6079678e62ea45d00bdfc41b5009e03..bed71285da7fe3ec6d8b7b0dd290c052df7a3b0f 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,36 +1,38 @@
<head>
<link rel="import" href="code_ref.html">
<link rel="import" href="observatory_element.html">
+ <link rel="import" href="table_tree.html">
</head>
<polymer-element name="isolate-profile" extends="observatory-element">
<template>
- <p> P R O F I L E </p>
<div>
<button type="button" on-click="{{refreshData}}">Refresh profile data</button>
<span>Top</span>
<select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[methodCountSelected]}}">
<option template repeat="{{count in methodCounts}}">{{count}}</option>
</select>
- <span>methods</span>
+ <span>exclusive methods</span>
</div>
- <blockquote><strong>Top Exclusive</strong></blockquote>
- <table class="table table-hover">
+ <table id="tableTree" class="table table-hover">
<thead>
<tr>
- <th>Ticks</th>
- <th>Percent</th>
- <th>Method</th>
+ <template repeat="{{ header in tree.columnHeaders }}">
+ <th>{{header}}</th>
+ </template>
</tr>
</thead>
<tbody>
- <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 template repeat="{{row in tree.rows }}" style="{{}}">
+ <td on-click="{{toggleExpanded}}"
+ class="{{ coloring(row) }}"
+ style="{{ padding(row) }}">
+ <code-ref app="{{ app }}" ref="{{ row.code.codeRef }}"></code-ref>
+ </td>
+ <template repeat="{{ col in row.columns }}">
+ <td class="{{ coloring(row) }}">{{col}}</td>
+ </template>
</tr>
+ </tbody>
</table>
</template>
<script type="application/dart" src="isolate_profile.dart"></script>

Powered by Google App Engine
This is Rietveld 408576698