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

Unified Diff: runtime/observatory/lib/src/elements/cpu_profile.html

Issue 928833003: Add Function based profile tree (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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/observatory/lib/src/elements/cpu_profile.html
diff --git a/runtime/observatory/lib/src/elements/cpu_profile.html b/runtime/observatory/lib/src/elements/cpu_profile.html
index cc7d0c0365a8a01b8e7419941ddb92483c71366c..4956d5c47231d649fd534c3aaa9557c50ce9ba92 100644
--- a/runtime/observatory/lib/src/elements/cpu_profile.html
+++ b/runtime/observatory/lib/src/elements/cpu_profile.html
@@ -120,8 +120,8 @@
<div class="memberValue">{{ sampleRate }} Hz</div>
</div>
<div class="memberItem">
- <div class="memberName">Sample depth</div>
- <div class="memberValue">{{ sampleDepth }} stack frames</div>
+ <div class="memberName">Stack depth</div>
+ <div class="memberValue">{{ stackDepth }} stack frames</div>
</div>
<div class="memberItem">
<div class="memberName">Display cutoff</div>
@@ -139,18 +139,28 @@
</select>
</div>
</div>
+ <div class="memberItem">
+ <div class="memberName">Mode</div>
+ <div class="memberValue">
+ <select value="{{modeSelector}}">
+ <option value="Code">Code</option>
+ <option value="Function">Function</option>
+ </select>
+ </div>
+ </div>
</div>
<hr>
- <table id="tableTree" class="table">
- <thead id="tableTreeheader">
- <tr>
- <th>Method</th>
- <th>Self</th>
- </tr>
+ <table class="table">
+ <thead id="treeHeader">
+ <tr>
+ <th>Method</th>
+ <th>Self</th>
+ </tr>
</thead>
- <tbody id="tableTreeBody">
+ <tbody id="treeBody">
</tbody>
</table>
+ <hr>
</div>
</template>
</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698