| OLD | NEW |
| 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="isolate-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="{{ profile.isolate }}"></isolate-nav-menu> | 13 <isolate-nav-menu isolate="{{ profile.isolate }}"></isolate-nav-menu> |
| 14 <nav-menu link="{{ profile.isolate.relativeLink('profile') }}" anchor="cpu
profile" last="{{ true }}"></nav-menu> | 14 <nav-menu link="{{ profile.isolate.relativeLink('profile') }}" anchor="cpu
profile" last="{{ true }}"></nav-menu> |
| 15 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 15 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 16 <nav-control></nav-control> | 16 <nav-control></nav-control> |
| 17 </nav-bar> | 17 </nav-bar> |
| 18 <style> | 18 <style> |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 <option value="u">User</option> | 135 <option value="u">User</option> |
| 136 <option value="vu">VM > User</option> | 136 <option value="vu">VM > User</option> |
| 137 <option value="v">VM</option> | 137 <option value="v">VM</option> |
| 138 <option value="hide">None</option> | 138 <option value="hide">None</option> |
| 139 </select> | 139 </select> |
| 140 </div> | 140 </div> |
| 141 </div> | 141 </div> |
| 142 </div> | 142 </div> |
| 143 <hr> | 143 <hr> |
| 144 <table id="tableTree" class="table"> | 144 <table id="tableTree" class="table"> |
| 145 <thead> | 145 <thead id="tableTreeheader"> |
| 146 <tr> | 146 <tr> |
| 147 <th>Method</th> | 147 <th>Method</th> |
| 148 <th>Self</th> | 148 <th>Self</th> |
| 149 </tr> | 149 </tr> |
| 150 </thead> | 150 </thead> |
| 151 <tbody> | 151 <tbody id="tableTreeBody"> |
| 152 <tr template repeat="{{row in tree.rows }}" style="{{}}"> | |
| 153 <td on-click="{{toggleExpanded}}" | |
| 154 class="{{ coloring(row) }}" | |
| 155 style="{{ padding(row) }}"> | |
| 156 <span id="expand" style="{{ row.expanderStyle }}">{{ row.expander
}}</span> | |
| 157 <div style="position: relative;display: inline"> | |
| 158 {{row.columns[0]}} | |
| 159 </div> | |
| 160 <code-ref ref="{{ row.code }}"></code-ref> | |
| 161 </td> | |
| 162 <td class="{{ coloring(row) }}" style="position: relative"> | |
| 163 {{row.columns[1]}} | |
| 164 <div class="tooltip"> | |
| 165 <div class="memberList"> | |
| 166 <div class="memberItem"> | |
| 167 <div class="memberName white">Kind</div> | |
| 168 <div class="memberValue white">{{ row.tipKind }}</div> | |
| 169 </div> | |
| 170 <div class="memberItem"> | |
| 171 <div class="memberName white">Percent of Parent</div> | |
| 172 <div class="memberValue white">{{ row.tipParent }}</div> | |
| 173 </div> | |
| 174 <div class="memberItem"> | |
| 175 <div class="memberName white">Sample Count</div> | |
| 176 <div class="memberValue white">{{ row.tipTicks }} ({{ row.tip
Exclusive }})</div> | |
| 177 </div> | |
| 178 <div class="memberItem"> | |
| 179 <div class="memberName white">Approximate Execution Time</div
> | |
| 180 <div class="memberValue white">{{ row.tipTime }}</div> | |
| 181 </div> | |
| 182 </div> | |
| 183 </div> | |
| 184 </td> | |
| 185 </tr> | |
| 186 </tbody> | 152 </tbody> |
| 187 </table> | 153 </table> |
| 188 </div> | 154 </div> |
| 189 </template> | 155 </template> |
| 190 </polymer-element> | 156 </polymer-element> |
| 191 | 157 |
| 192 <script type="application/dart" src="isolate_profile.dart"></script> | 158 <script type="application/dart" src="cpu_profile.dart"></script> |
| OLD | NEW |