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

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

Issue 184233007: Refactor Observatory (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
(Empty)
1 <head>
2 <link rel="import" href="class_ref.html">
3 <link rel="import" href="nav_bar.html">
4 <link rel="import" href="observatory_element.html">
5 </head>
6 <polymer-element name="heap-profile" extends="observatory-element">
7 <template>
8 <nav-bar>
9 <top-nav-menu></top-nav-menu>
10 <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentIso late() }}">
11 </isolate-nav-menu>
12 <nav-menu link="." anchor="heap profile" last="{{ true }}"></nav-menu>
13 <nav-refresh callback="{{ refresh }}"></nav-refresh>
14 </nav-bar>
15
16 <button type="button" on-click="{{resetAccumulator}}">Reset Accumulator</butto n>
17 <div class="row">
18 <div id="newPieChart" class="col-md-4" style="height: 400px">
19 </div>
20 <div id="newStatus" class="col-md-2">
21 <table class="table">
22 <tbody>
23 <tr>
24 <td>Collections</td>
25 <td>{{ formattedCollections(true) }}</td>
26 </tr>
27 <tr>
28 <td>Average Collection Time</td>
29 <td>{{ formattedAverage(true) }}</td>
30 </tr>
31 <tr>
32 <td>Cumulative Collection Time</td>
33 <td>{{ formattedTotalCollectionTime(true) }}</td>
34 </tr>
35 </tbody>
36 </table>
37 </div>
38 <div id="oldPieChart" class="col-md-4" style="height: 400px">
39 </div>
40 <div id="oldStatus" class="col-md-2">
41 <table class="table">
42 <tbody>
43 <tr>
44 <td>Collections</td>
45 <td>{{ formattedCollections(false) }}</td>
46 </tr>
47 <tr>
48 <td>Average Collection Time</td>
49 <td>{{ formattedAverage(false) }}</td>
50 </tr>
51 <tr>
52 <td>Cumulative Collection Time</td>
53 <td>{{ formattedTotalCollectionTime(false) }}</td>
54 </tr>
55 </tbody>
56 </table>
57 </div>
58 </div>
59 <div class="row">
60 <p class="col-md-2">Aggregate heap table</p>
61 </div>
62 <div class="row">
63 <div id="simpleTable" class="col-md-12" style="height: 800px"></div>
64 </div>
65 <div class="row">
66 <p class="col-md-2">Individual heap table</p>
67 </div>
68 <div class="row">
69 <div id="table" class="col-md-12" style="height: 800px"></div>
70 </div>
71 </template>
72 <script type="application/dart" src="heap_profile.dart"></script>
73 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698