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

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

Issue 192443004: Complete the switch to ServiceObject (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="nav_bar.html"> 3 <link rel="import" href="nav_bar.html">
4 <link rel="import" href="observatory_element.html"> 4 <link rel="import" href="observatory_element.html">
5 </head> 5 </head>
6 <polymer-element name="isolate-profile" extends="isolate-element"> 6 <polymer-element name="isolate-profile" extends="observatory-element">
7 <template> 7 <template>
8 <nav-bar> 8 <nav-bar>
9 <top-nav-menu></top-nav-menu> 9 <top-nav-menu></top-nav-menu>
10 <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu> 10 <isolate-nav-menu isolate="{{ profile.isolate }}"></isolate-nav-menu>
11 <nav-menu link="." anchor="cpu profile" last="{{ true }}"></nav-menu> 11 <nav-menu link="." anchor="cpu profile" last="{{ true }}"></nav-menu>
12 <nav-refresh callback="{{ refresh }}"></nav-refresh> 12 <nav-refresh callback="{{ refresh }}"></nav-refresh>
13 </nav-bar> 13 </nav-bar>
14 <div class="row"> 14 <div class="row">
15 <div class="col-md-12"> 15 <div class="col-md-12">
16 <span>Top</span> 16 <span>Top</span>
17 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[me thodCountSelected]}}"> 17 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[me thodCountSelected]}}">
18 <option template repeat="{{count in methodCounts}}">{{count}}</option> 18 <option template repeat="{{count in methodCounts}}">{{count}}</option>
19 </select> 19 </select>
20 <span>exclusive methods</span> 20 <span>exclusive methods</span>
21 </div> 21 </div>
22 </div> 22 </div>
23 <div class="row"> 23 <div class="row">
24 <div class="col-md-12"> 24 <div class="col-md-12">
25 <p>Refreshed at {{ refreshTime }} with {{ sampleCount }} samples.</p> 25 <p>Refreshed at {{ refreshTime }} with {{ sampleCount }} samples.</p>
26 </div> 26 </div>
27 </div> 27 </div>
28 <table id="tableTree" class="table table-hover"> 28 <table id="tableTree" class="table table-hover">
29 <thead> 29 <thead>
30 <tr> 30 <tr>
31 <th>Method</th> 31 <th>Method</th>
32 <th>Exclusive</th> 32 <th>Exclusive</th>
33 <th>Caller</th> 33 <th>Caller</th>
34 <th>Inclusive</th>
35 </tr> 34 </tr>
36 </thead> 35 </thead>
37 <tbody> 36 <tbody>
38 <tr template repeat="{{row in tree.rows }}" style="{{}}"> 37 <tr template repeat="{{row in tree.rows }}" style="{{}}">
39 <td on-click="{{toggleExpanded}}" 38 <td on-click="{{toggleExpanded}}"
40 class="{{ coloring(row) }}" 39 class="{{ coloring(row) }}"
41 style="{{ padding(row) }}"> 40 style="{{ padding(row) }}">
42 <code-ref isolate="{{ isolate }}" ref="{{ row.code.codeRef }}"></cod e-ref> 41 <code-ref ref="{{ row.code }}"></code-ref>
43 </td> 42 </td>
44 <td class="{{ coloring(row) }}">{{row.columns[0]}}</td> 43 <td class="{{ coloring(row) }}">{{row.columns[0]}}</td>
45 <td class="{{ coloring(row) }}">{{row.columns[1]}}</td> 44 <td class="{{ coloring(row) }}">{{row.columns[1]}}</td>
46 <td class="{{ coloring(row) }}">{{row.columns[2]}}</td>
47 </tr> 45 </tr>
48 </tbody> 46 </tbody>
49 </table> 47 </table>
50 </template> 48 </template>
51 <script type="application/dart" src="isolate_profile.dart"></script> 49 <script type="application/dart" src="isolate_profile.dart"></script>
52 </polymer-element> 50 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698