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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.html
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.html
index 50c1af9b80a20a3c4335a0bd299eecaeb25bc414..d5ca5ff0c3e2bbe7354869edb54bd59d0bee53aa 100644
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.html
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.html
@@ -6,6 +6,7 @@
<template>
<div>
<button type="button" on-click="{{refreshData}}">Refresh</button>
+ <button type="button" on-click="{{resetAccumulator}}">Reset Accumulator</button>
</div>
<div class="row">
<div id="newPieChart" class="col-md-4" style="height: 400px">
@@ -35,21 +36,30 @@
<tbody>
<tr>
<td>Collections</td>
- <td>{{ formattedCollections(true) }}</td>
+ <td>{{ formattedCollections(false) }}</td>
</tr>
<tr>
<td>Average Collection Time</td>
- <td>{{ formattedAverage(true) }}</td>
+ <td>{{ formattedAverage(false) }}</td>
</tr>
<tr>
<td>Cumulative Collection Time</td>
- <td>{{ formattedTotalCollectionTime(true) }}</td>
+ <td>{{ formattedTotalCollectionTime(false) }}</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="row">
+ <p class="col-md-2">Aggregate heap table</p>
+ </div>
+ <div class="row">
+ <div id="simpleTable" class="col-md-12" style="height: 800px"></div>
+ </div>
+ <div class="row">
+ <p class="col-md-2">Individual heap table</p>
+ </div>
+ <div class="row">
<div id="table" class="col-md-12" style="height: 800px"></div>
</div>
</template>
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.dart ('k') | runtime/vm/class_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698