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

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

Issue 100103011: Changes to support dprof and Observatory profiler UIs (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <head>
2 <link rel="import" href="observatory_element.html">
3 </head>
4 <polymer-element name="isolate-profile" extends="observatory-element">
5 <template>
6 <p> P R O F I L E </p>
7 <div>
8 <button type="button" on-click="{{refreshData}}">Refresh profile data</but ton>
9 <span>Top</span>
10 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[meth odCountSelected]}}">
11 <option template repeat="{{count in methodCounts}}">{{count}}</option>
12 </select>
13 <span>methods</span>
14 <input type="checkbox" on-click="{{toggleDisassemble}}">Disassemble</input >
15 </div>
16 <blockquote><strong>Top Inclusive</strong></blockquote>
17 <table class="table table-hover">
18 <thead>
19 <tr>
20 <th>Ticks</th>
21 <th>Percent</th>
22 <th>Method</th>
23 </tr>
24 </thead>
25 <tbody>
26 <template repeat="{{ code in topInclusiveCodes }}">
27 <tr>
28 <td>{{ codeTicks(code, true) }}</td>
29 <td>{{ codePercent(code, true) }}</td>
30 <td>{{ codeName(code) }}</td>
31 </tr>
32 <template if="{{ disassemble }}">
33 <template repeat="{{ instr in code.instructions }}">
34 <tr>
35 <td><code>{{instructionTicks(instr)}}</code></td>
36 <td><code>{{instructionPercent(instr, code)}}</code></td>
37 <td><code>{{instructionDisplay(instr)}}</code></td>
38 </tr>
39 </template>
40 </template>
41 </template>
42 </table>
43 <blockquote><strong>Top Exclusive</strong></blockquote>
44 <table class="table table-hover">
45 <thead>
46 <tr>
47 <th>Ticks</th>
48 <th>Percent</th>
49 <th>Method</th>
50 </tr>
51 </thead>
52 <tbody>
53 <template repeat="{{ code in topExclusiveCodes }}">
54 <tr>
55 <td>{{ codeTicks(code, false) }}</td>
56 <td>{{ codePercent(code, false) }}</td>
57 <td>{{ codeName(code) }}</td>
58 </tr>
59 <template if="{{ disassemble }}">
60 <template repeat="{{ instr in code.instructions }}">
61 <tr>
62 <td><code>{{instructionTicks(instr)}}</code></td>
63 <td><code>{{instructionPercent(instr, code)}}</code></td>
64 <td><code>{{instructionDisplay(instr)}}</code></td>
65 </tr>
66 </template>
67 </template>
68 </template>
69 </table>
70 </template>
71 <script type="application/dart" src="isolate_profile.dart"></script>
72 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698