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

Side by Side Diff: runtime/observatory/lib/src/elements/cpu_profile.html

Issue 1846713003: Add call tree filter to Observatory CPU profile tree (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « runtime/observatory/lib/src/elements/cpu_profile.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 </div> 106 </div>
107 </template> 107 </template>
108 </polymer-element> 108 </polymer-element>
109 109
110 <polymer-element name="stack-trace-tree-config" extends="observatory-element"> 110 <polymer-element name="stack-trace-tree-config" extends="observatory-element">
111 <template> 111 <template>
112 <link rel="stylesheet" href="css/shared.css"> 112 <link rel="stylesheet" href="css/shared.css">
113 <style> 113 <style>
114 .statusBox { 114 .statusBox {
115 height: 100%; 115 height: 100%;
116 padding: 1em; 116 padding: 0.5em;
117 }
118 .row {
119 display: flex;
117 } 120 }
118 </style> 121 </style>
119 <div class="content-centered-big"> 122 <div class="content-centered-big">
120 <template if="{{ show }}"> 123 <template if="{{ show }}">
121 <h2>Tree display</h2> 124 <h2>Tree display</h2>
122 <hr> 125 <hr>
123 <div class="memberList"> 126 <div class="row">
124 <template if="{{ showModeSelector }}"> 127 <div>
125 <div class="memberItem"> 128 <div class="memberList">
126 <div class="memberName">Mode</div> 129 <template if="{{ showModeSelector }}">
127 <div class="memberValue"> 130 <div class="memberItem">
128 <select value="{{modeSelector}}"> 131 <div class="memberName">Mode</div>
129 <option value="Code">Code</option> 132 <div class="memberValue">
130 <option value="Function">Function</option> 133 <select value="{{modeSelector}}">
131 </select> 134 <option value="Code">Code</option>
132 </div> 135 <option value="Function">Function</option>
136 </select>
137 </div>
138 </div>
139 </template>
140 <template if="{{ showDirectionSelector }}">
141 <div class="memberItem">
142 <div class="memberName">Call Tree Direction</div>
143 <span class="memberValue">
144 <select value="{{directionSelector}}">
145 <option value="Down">Top down</option>
146 <option value="Up">Bottom up</option>
147 </select>
148 <template if="{{ directionSelector == 'Down' }}">
149 <span>
150 Tree is rooted at "main". Child nodes are callees.
151 </span>
152 </template>
153 <template if="{{ directionSelector == 'Up' }}">
154 <span>
155 Tree is rooted at executing function / code. Child nodes are callers.
156 </span>
157 </template>
158 </span>
159 </div>
160 </template>
161 <template if="{{ showFilter }}">
162 <div class="memberItem">
163 <div title="case-sensitive substring match" class="memberName" >Call Tree Filter</div>
164 <span class="memberValue">
165 <input type="text" placeholder="Search filter" id="filterInp ut">
166 </span>
167 </div>
168 </template>
133 </div> 169 </div>
134 </template> 170 </div>
135 <template if="{{ showDirectionSelector }}">
136 <div class="memberItem">
137 <div class="memberName">Call Tree Direction</div>
138 <div class="memberValue">
139 <select value="{{directionSelector}}">
140 <option value="Down">Top down</option>
141 <option value="Up">Bottom up</option>
142 </select>
143 </div>
144 </div>
145 </template>
146 </div> 171 </div>
147 <template if="{{ directionSelector == 'Down' }}">
148 <br>
149 <div class="statusBox shadow">
150 <div>Tree is rooted at main.</div>
151 <br>
152 <div>Child nodes are callees.</div>
153 </div>
154 </template>
155 <template if="{{ directionSelector == 'Up' }}">
156 <br>
157 <div class="statusBox shadow">
158 <div>Tree is rooted at executing function / code.</div>
159 <br>
160 <div>Child nodes are callers.</div>
161 </div>
162 </template>
163 </template> 172 </template>
164 </div> 173 </div>
165 </template> 174 </template>
166 </polymer-element> 175 </polymer-element>
167 176
168 <polymer-element name="cpu-profile-tree" extends="observatory-element"> 177 <polymer-element name="cpu-profile-tree" extends="observatory-element">
169 <template> 178 <template>
170 <link rel="stylesheet" href="css/shared.css"> 179 <link rel="stylesheet" href="css/shared.css">
171 <style> 180 <style>
172 .infoBox { 181 .infoBox {
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 </style> 493 </style>
485 <sample-buffer-control id="sampleBufferControl"></sample-buffer-control> 494 <sample-buffer-control id="sampleBufferControl"></sample-buffer-control>
486 <br> 495 <br>
487 <stack-trace-tree-config id="stackTraceTreeConfig"></stack-trace-tree-config > 496 <stack-trace-tree-config id="stackTraceTreeConfig"></stack-trace-tree-config >
488 <br> 497 <br>
489 <cpu-profile-virtual-tree id="cpuProfileVirtualTree"></cpu-profile-virtual-t ree> 498 <cpu-profile-virtual-tree id="cpuProfileVirtualTree"></cpu-profile-virtual-t ree>
490 </template> 499 </template>
491 </polymer-element> 500 </polymer-element>
492 501
493 <script type="application/dart" src="cpu_profile.dart"></script> 502 <script type="application/dart" src="cpu_profile.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/cpu_profile.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698