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

Side by Side Diff: runtime/observatory/lib/src/elements/cpu_profile.html

Issue 928833003: Add Function based profile tree (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="code_ref.html"> 2 <link rel="import" href="code_ref.html">
3 <link rel="import" href="function_ref.html"> 3 <link rel="import" href="function_ref.html">
4 <link rel="import" href="nav_bar.html"> 4 <link rel="import" href="nav_bar.html">
5 <link rel="import" href="observatory_element.html"> 5 <link rel="import" href="observatory_element.html">
6 <link rel="import" href="sliding_checkbox.html"> 6 <link rel="import" href="sliding_checkbox.html">
7 7
8 <polymer-element name="cpu-profile" extends="observatory-element"> 8 <polymer-element name="cpu-profile" extends="observatory-element">
9 <template> 9 <template>
10 <link rel="stylesheet" href="css/shared.css"> 10 <link rel="stylesheet" href="css/shared.css">
11 <nav-bar> 11 <nav-bar>
12 <top-nav-menu></top-nav-menu> 12 <top-nav-menu></top-nav-menu>
13 <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu> 13 <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu>
14 <nav-menu link="{{ makeLink('/profiler', isolate) }}" anchor="cpu profile" last="{{ true }}"></nav-menu> 14 <nav-menu link="{{ makeLink('/profiler', isolate) }}" anchor="cpu profile" last="{{ true }}"></nav-menu>
15 <nav-refresh callback="{{ refresh }}"></nav-refresh> 15 <nav-refresh callback="{{ refresh }}"></nav-refresh>
16 <nav-refresh callback="{{ clear }}" label="Clear"></nav-refresh>
16 <nav-control></nav-control> 17 <nav-control></nav-control>
17 </nav-bar> 18 </nav-bar>
18 <style> 19 <style>
19 .table { 20 .table {
20 border-collapse: collapse!important; 21 border-collapse: collapse!important;
21 width: 100%; 22 width: 100%;
22 margin-bottom: 20px 23 margin-bottom: 20px
24 table-layout: fixed;
23 } 25 }
24 .table thead > tr > th, 26 .table thead > tr > th,
25 .table tbody > tr > th, 27 .table tbody > tr > th,
26 .table tfoot > tr > th, 28 .table tfoot > tr > th,
27 .table thead > tr > td, 29 .table thead > tr > td,
28 .table tbody > tr > td, 30 .table tbody > tr > td,
29 .table tfoot > tr > td { 31 .table tfoot > tr > td {
30 padding: 8px; 32 padding: 8px;
31 vertical-align: top; 33 vertical-align: top;
32 } 34 }
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 </div> 115 </div>
114 <div class="memberItem"> 116 <div class="memberItem">
115 <div class="memberName">Sample count</div> 117 <div class="memberName">Sample count</div>
116 <div class="memberValue">{{ sampleCount }}</div> 118 <div class="memberValue">{{ sampleCount }}</div>
117 </div> 119 </div>
118 <div class="memberItem"> 120 <div class="memberItem">
119 <div class="memberName">Sample rate</div> 121 <div class="memberName">Sample rate</div>
120 <div class="memberValue">{{ sampleRate }} Hz</div> 122 <div class="memberValue">{{ sampleRate }} Hz</div>
121 </div> 123 </div>
122 <div class="memberItem"> 124 <div class="memberItem">
123 <div class="memberName">Sample depth</div> 125 <div class="memberName">Stack depth</div>
124 <div class="memberValue">{{ sampleDepth }} stack frames</div> 126 <div class="memberValue">{{ stackDepth }} stack frames</div>
125 </div> 127 </div>
126 <div class="memberItem"> 128 <div class="memberItem">
127 <div class="memberName">Display cutoff</div> 129 <div class="memberName">Display cutoff</div>
128 <div class="memberValue">{{ displayCutoff }}</div> 130 <div class="memberValue">{{ displayCutoff }}</div>
129 </div> 131 </div>
130 <div class="memberItem"> 132 <div class="memberItem">
131 <div class="memberName">Tags</div> 133 <div class="memberName">Tags</div>
132 <div class="memberValue"> 134 <div class="memberValue">
133 <select value="{{tagSelector}}"> 135 <select value="{{tagSelector}}">
134 <option value="UserVM">User &gt; VM</option> 136 <option value="UserVM">User &gt; VM</option>
135 <option value="UserOnly">User</option> 137 <option value="UserOnly">User</option>
136 <option value="VMUser">VM &gt; User</option> 138 <option value="VMUser">VM &gt; User</option>
137 <option value="VMOnly">VM</option> 139 <option value="VMOnly">VM</option>
138 <option value="None">None</option> 140 <option value="None">None</option>
139 </select> 141 </select>
140 </div> 142 </div>
141 </div> 143 </div>
144 <div class="memberItem">
145 <div class="memberName">Mode</div>
146 <div class="memberValue">
147 <select value="{{modeSelector}}">
148 <option value="Code">Code</option>
149 <option value="Function">Function</option>
150 </select>
151 </div>
152 </div>
142 </div> 153 </div>
143 <hr> 154 <hr>
144 <table id="tableTree" class="table"> 155 <table class="table">
145 <thead id="tableTreeheader"> 156 <thead id="treeHeader">
146 <tr> 157 <tr>
147 <th>Method</th> 158 <th>Method</th>
148 <th>Self</th> 159 <th>Self</th>
149 </tr> 160 </tr>
150 </thead> 161 </thead>
151 <tbody id="tableTreeBody"> 162 <tbody id="treeBody">
152 </tbody> 163 </tbody>
153 </table> 164 </table>
165 <hr>
154 </div> 166 </div>
155 </template> 167 </template>
156 </polymer-element> 168 </polymer-element>
157 169
158 <script type="application/dart" src="cpu_profile.dart"></script> 170 <script type="application/dart" src="cpu_profile.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/cpu_profile.dart ('k') | runtime/observatory/lib/src/elements/curly_block.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698