| 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 <link rel="import" href="view_footer.html"> | 7 <link rel="import" href="view_footer.html"> |
| 8 | 8 |
| 9 <polymer-element name="sample-buffer-control" extends="observatory-element"> | 9 <polymer-element name="sample-buffer-control" extends="observatory-element"> |
| 10 <template> | 10 <template> |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 <div class="memberValue">{{ sampleCount }} samples (spanning {{ time
Span }})</div> | 84 <div class="memberValue">{{ sampleCount }} samples (spanning {{ time
Span }})</div> |
| 85 </div> | 85 </div> |
| 86 <div class="memberItem"> | 86 <div class="memberItem"> |
| 87 <div class="memberName">Sampling</div> | 87 <div class="memberName">Sampling</div> |
| 88 <div class="memberValue">{{ stackDepth }} stack frames @ {{ sampleRa
te }} Hz</div> | 88 <div class="memberValue">{{ stackDepth }} stack frames @ {{ sampleRa
te }} Hz</div> |
| 89 </div> | 89 </div> |
| 90 <template if="{{ showTagSelector }}"> | 90 <template if="{{ showTagSelector }}"> |
| 91 <div class="memberItem"> | 91 <div class="memberItem"> |
| 92 <div class="memberName">Tag Order</div> | 92 <div class="memberName">Tag Order</div> |
| 93 <div class="memberValue"> | 93 <div class="memberValue"> |
| 94 <select value="{{tagSelector}}"> | 94 <template if="{{ profileVM }}"> |
| 95 <option value="UserVM">User > VM</option> | 95 <select value="{{tagSelector}}"> |
| 96 <option value="UserOnly">User</option> | 96 <option value="UserVM">User > VM</option> |
| 97 <option value="VMUser">VM > User</option> | 97 <option value="UserOnly">User</option> |
| 98 <option value="VMOnly">VM</option> | 98 <option value="VMUser">VM > User</option> |
| 99 <option value="None">None</option> | 99 <option value="VMOnly">VM</option> |
| 100 </select> | 100 <option value="None">None</option> |
| 101 </select> |
| 102 </template> |
| 103 <template if="{{ !profileVM }}"> |
| 104 <select value="{{tagSelector}}"> |
| 105 <option value="UserOnly">User</option> |
| 106 <option value="None">None</option> |
| 107 </select> |
| 108 </template> |
| 101 </div> | 109 </div> |
| 102 </div> | 110 </div> |
| 103 </template> | 111 </template> |
| 104 </div> | 112 </div> |
| 105 </template> | 113 </template> |
| 106 </div> | 114 </div> |
| 107 </template> | 115 </template> |
| 108 </polymer-element> | 116 </polymer-element> |
| 109 | 117 |
| 110 <polymer-element name="stack-trace-tree-config" extends="observatory-element"> | 118 <polymer-element name="stack-trace-tree-config" extends="observatory-element"> |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 </polymer-element> | 255 </polymer-element> |
| 248 | 256 |
| 249 <polymer-element name="cpu-profile-virtual-tree" extends="observatory-element"> | 257 <polymer-element name="cpu-profile-virtual-tree" extends="observatory-element"> |
| 250 <template> | 258 <template> |
| 251 <link rel="stylesheet" href="css/shared.css"> | 259 <link rel="stylesheet" href="css/shared.css"> |
| 252 <style> | 260 <style> |
| 253 .full { | 261 .full { |
| 254 height: 50%; | 262 height: 50%; |
| 255 width: 100%; | 263 width: 100%; |
| 256 } | 264 } |
| 265 .coldProfile { |
| 266 background-color: #aea; |
| 267 } |
| 268 .mediumProfile { |
| 269 background-color: #fe9; |
| 270 } |
| 271 .hotProfile { |
| 272 background-color: #faa; |
| 273 } |
| 257 </style> | 274 </style> |
| 258 <div id="tree" class="full"></div> | 275 <div id="tree" class="full"></div> |
| 259 </template> | 276 </template> |
| 260 </polymer-element> | 277 </polymer-element> |
| 261 | 278 |
| 262 | 279 |
| 263 <polymer-element name="cpu-profile-table" extends="observatory-element"> | 280 <polymer-element name="cpu-profile-table" extends="observatory-element"> |
| 264 <template> | 281 <template> |
| 265 <link rel="stylesheet" href="css/shared.css"> | 282 <link rel="stylesheet" href="css/shared.css"> |
| 266 <nav-bar> | 283 <nav-bar> |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 </template> | 478 </template> |
| 462 <template if="{{ focusedFunction == null }}"> | 479 <template if="{{ focusedFunction == null }}"> |
| 463 <span>No focused function</span> | 480 <span>No focused function</span> |
| 464 </template> | 481 </template> |
| 465 </div> | 482 </div> |
| 466 </div> | 483 </div> |
| 467 <br> | 484 <br> |
| 468 <br> | 485 <br> |
| 469 <div class="flex-row centered"> | 486 <div class="flex-row centered"> |
| 470 <div class="flex-item-90-percent outlined" style="margin: 16px; margin-lef
t: 8px; margin-right: 8px"> | 487 <div class="flex-item-90-percent outlined" style="margin: 16px; margin-lef
t: 8px; margin-right: 8px"> |
| 471 <cpu-profile-tree id="cpuProfileTree"></cpu-profile-tree> | 488 <cpu-profile-virtual-tree id="cpuProfileTree"></cpu-profile-virtual-tree
> |
| 472 </div> | 489 </div> |
| 473 </div> | 490 </div> |
| 474 </template> | 491 </template> |
| 475 </polymer-element> | 492 </polymer-element> |
| 476 | 493 |
| 477 <polymer-element name="cpu-profile" extends="observatory-element"> | 494 <polymer-element name="cpu-profile" extends="observatory-element"> |
| 478 <template> | 495 <template> |
| 479 <link rel="stylesheet" href="css/shared.css"> | 496 <link rel="stylesheet" href="css/shared.css"> |
| 480 <nav-bar> | 497 <nav-bar> |
| 481 <top-nav-menu></top-nav-menu> | 498 <top-nav-menu></top-nav-menu> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 493 </style> | 510 </style> |
| 494 <sample-buffer-control id="sampleBufferControl"></sample-buffer-control> | 511 <sample-buffer-control id="sampleBufferControl"></sample-buffer-control> |
| 495 <br> | 512 <br> |
| 496 <stack-trace-tree-config id="stackTraceTreeConfig"></stack-trace-tree-config
> | 513 <stack-trace-tree-config id="stackTraceTreeConfig"></stack-trace-tree-config
> |
| 497 <br> | 514 <br> |
| 498 <cpu-profile-virtual-tree id="cpuProfileVirtualTree"></cpu-profile-virtual-t
ree> | 515 <cpu-profile-virtual-tree id="cpuProfileVirtualTree"></cpu-profile-virtual-t
ree> |
| 499 </template> | 516 </template> |
| 500 </polymer-element> | 517 </polymer-element> |
| 501 | 518 |
| 502 <script type="application/dart" src="cpu_profile.dart"></script> | 519 <script type="application/dart" src="cpu_profile.dart"></script> |
| OLD | NEW |