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

Side by Side 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, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <head> 1 <head>
2 <link rel="import" href="code_ref.html"> 2 <link rel="import" href="code_ref.html">
3 <link rel="import" href="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
4 <link rel="import" href="table_tree.html">
4 </head> 5 </head>
5 <polymer-element name="isolate-profile" extends="observatory-element"> 6 <polymer-element name="isolate-profile" extends="observatory-element">
6 <template> 7 <template>
7 <p> P R O F I L E </p>
8 <div> 8 <div>
9 <button type="button" on-click="{{refreshData}}">Refresh profile data</but ton> 9 <button type="button" on-click="{{refreshData}}">Refresh profile data</but ton>
10 <span>Top</span> 10 <span>Top</span>
11 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[meth odCountSelected]}}"> 11 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[meth odCountSelected]}}">
12 <option template repeat="{{count in methodCounts}}">{{count}}</option> 12 <option template repeat="{{count in methodCounts}}">{{count}}</option>
13 </select> 13 </select>
14 <span>methods</span> 14 <span>exclusive methods</span>
15 </div> 15 </div>
16 <blockquote><strong>Top Exclusive</strong></blockquote> 16 <table id="tableTree" class="table table-hover">
17 <table class="table table-hover">
18 <thead> 17 <thead>
19 <tr> 18 <tr>
20 <th>Ticks</th> 19 <template repeat="{{ header in tree.columnHeaders }}">
21 <th>Percent</th> 20 <th>{{header}}</th>
22 <th>Method</th> 21 </template>
23 </tr> 22 </tr>
24 </thead> 23 </thead>
25 <tbody> 24 <tbody>
26 <tr template repeat="{{ code in topExclusiveCodes }}"> 25 <tr template repeat="{{row in tree.rows }}" style="{{}}">
27 <td>{{ codeTicks(code, false) }}</td> 26 <td on-click="{{toggleExpanded}}"
28 <td>{{ codePercent(code, false) }}</td> 27 class="{{ coloring(row) }}"
29 <td> 28 style="{{ padding(row) }}">
30 <span>{{ codeName(code) }}</span> 29 <code-ref app="{{ app }}" ref="{{ row.code.codeRef }}"></code-ref>
31 <code-ref app="{{ app }}" ref="{{ code.codeRef }}"></code-ref> 30 </td>
32 </td> 31 <template repeat="{{ col in row.columns }}">
32 <td class="{{ coloring(row) }}">{{col}}</td>
33 </template>
33 </tr> 34 </tr>
35 </tbody>
34 </table> 36 </table>
35 </template> 37 </template>
36 <script type="application/dart" src="isolate_profile.dart"></script> 38 <script type="application/dart" src="isolate_profile.dart"></script>
37 </polymer-element> 39 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698