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

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

Issue 173013004: Add accumulator to allocation profiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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="class_ref.html"> 2 <link rel="import" href="class_ref.html">
3 <link rel="import" href="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
4 </head> 4 </head>
5 <polymer-element name="heap-profile" extends="observatory-element"> 5 <polymer-element name="heap-profile" extends="observatory-element">
6 <template> 6 <template>
7 <div> 7 <div>
8 <button type="button" on-click="{{refreshData}}">Refresh</button> 8 <button type="button" on-click="{{refreshData}}">Refresh</button>
9 <button type="button" on-click="{{resetAccumulator}}">Reset Accumulator</butto n>
9 </div> 10 </div>
10 <div class="row"> 11 <div class="row">
11 <div id="newPieChart" class="col-md-4" style="height: 400px"> 12 <div id="newPieChart" class="col-md-4" style="height: 400px">
12 </div> 13 </div>
13 <div id="newStatus" class="col-md-2"> 14 <div id="newStatus" class="col-md-2">
14 <table class="table"> 15 <table class="table">
15 <tbody> 16 <tbody>
16 <tr> 17 <tr>
17 <td>Collections</td> 18 <td>Collections</td>
18 <td>{{ formattedCollections(true) }}</td> 19 <td>{{ formattedCollections(true) }}</td>
19 </tr> 20 </tr>
20 <tr> 21 <tr>
21 <td>Average Collection Time</td> 22 <td>Average Collection Time</td>
22 <td>{{ formattedAverage(true) }}</td> 23 <td>{{ formattedAverage(true) }}</td>
23 </tr> 24 </tr>
24 <tr> 25 <tr>
25 <td>Cumulative Collection Time</td> 26 <td>Cumulative Collection Time</td>
26 <td>{{ formattedTotalCollectionTime(true) }}</td> 27 <td>{{ formattedTotalCollectionTime(true) }}</td>
27 </tr> 28 </tr>
28 </tbody> 29 </tbody>
29 </table> 30 </table>
30 </div> 31 </div>
31 <div id="oldPieChart" class="col-md-4" style="height: 400px"> 32 <div id="oldPieChart" class="col-md-4" style="height: 400px">
32 </div> 33 </div>
33 <div id="oldStatus" class="col-md-2"> 34 <div id="oldStatus" class="col-md-2">
34 <table class="table"> 35 <table class="table">
35 <tbody> 36 <tbody>
36 <tr> 37 <tr>
37 <td>Collections</td> 38 <td>Collections</td>
38 <td>{{ formattedCollections(true) }}</td> 39 <td>{{ formattedCollections(false) }}</td>
39 </tr> 40 </tr>
40 <tr> 41 <tr>
41 <td>Average Collection Time</td> 42 <td>Average Collection Time</td>
42 <td>{{ formattedAverage(true) }}</td> 43 <td>{{ formattedAverage(false) }}</td>
43 </tr> 44 </tr>
44 <tr> 45 <tr>
45 <td>Cumulative Collection Time</td> 46 <td>Cumulative Collection Time</td>
46 <td>{{ formattedTotalCollectionTime(true) }}</td> 47 <td>{{ formattedTotalCollectionTime(false) }}</td>
47 </tr> 48 </tr>
48 </tbody> 49 </tbody>
49 </table> 50 </table>
50 </div> 51 </div>
51 </div> 52 </div>
52 <div class="row"> 53 <div class="row">
54 <p class="col-md-2">Aggregate heap table</p>
55 </div>
56 <div class="row">
57 <div id="simpleTable" class="col-md-12" style="height: 800px"></div>
58 </div>
59 <div class="row">
60 <p class="col-md-2">Individual heap table</p>
61 </div>
62 <div class="row">
53 <div id="table" class="col-md-12" style="height: 800px"></div> 63 <div id="table" class="col-md-12" style="height: 800px"></div>
54 </div> 64 </div>
55 </template> 65 </template>
56 <script type="application/dart" src="heap_profile.dart"></script> 66 <script type="application/dart" src="heap_profile.dart"></script>
57 </polymer-element> 67 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698