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

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

Issue 1453983002: Add RPC and UI for reachable size of an object / all instances of a class. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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
OLDNEW
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="action_link.html"> 2 <link rel="import" href="action_link.html">
3 <link rel="import" href="cpu_profile.html"> 3 <link rel="import" href="cpu_profile.html">
4 <link rel="import" href="curly_block.html"> 4 <link rel="import" href="curly_block.html">
5 <link rel="import" href="eval_box.html"> 5 <link rel="import" href="eval_box.html">
6 <link rel="import" href="eval_link.html"> 6 <link rel="import" href="eval_link.html">
7 <link rel="import" href="field_ref.html"> 7 <link rel="import" href="field_ref.html">
8 <link rel="import" href="function_ref.html"> 8 <link rel="import" href="function_ref.html">
9 <link rel="import" href="instance_ref.html"> 9 <link rel="import" href="instance_ref.html">
10 <link rel="import" href="library_ref.html"> 10 <link rel="import" href="library_ref.html">
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 <eval-link callback="{{ reachable }}" 174 <eval-link callback="{{ reachable }}"
175 label="[more]" 175 label="[more]"
176 expr="{{ instances['samples'].length * 2 }}"> 176 expr="{{ instances['samples'].length * 2 }}">
177 </eval-link> 177 </eval-link>
178 </template> 178 </template>
179 of total {{ instances['totalCount'] }} 179 of total {{ instances['totalCount'] }}
180 </template> 180 </template>
181 </div> 181 </div>
182 </div> 182 </div>
183 <div class="memberItem"> 183 <div class="memberItem">
184 <div class="memberName">total reachable memory size</div>
185 <div class="memberValue">
186 <template if="{{ reachableBytes == null }}">
187 <eval-link callback="{{ reachableSize }}"
188 label="[calculate]">
189 </eval-link>
190 </template>
191 <template if="{{ reachableBytes != null }}">
192 {{ reachableBytes | formatSize }}
193 </template>
194 </div>
195 </div>
196 <div class="memberItem">
184 <div class="memberName">total retained memory size</div> 197 <div class="memberName">total retained memory size</div>
185 <div class="memberValue"> 198 <div class="memberValue">
186 <template if="{{ retainedBytes == null }}"> 199 <template if="{{ retainedBytes == null }}">
187 <eval-link callback="{{ retainedSize }}" 200 <eval-link callback="{{ retainedSize }}"
188 label="[calculate]"> 201 label="[calculate]">
189 </eval-link> 202 </eval-link>
190 </template> 203 </template>
191 <template if="{{ retainedBytes != null }}"> 204 <template if="{{ retainedBytes != null }}">
192 {{ retainedBytes | formatSize }} 205 {{ retainedBytes | formatSize }}
193 </template> 206 </template>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 <hr> 261 <hr>
249 <source-inset location="{{ cls.location }}"> 262 <source-inset location="{{ cls.location }}">
250 </source-inset> 263 </source-inset>
251 </div> 264 </div>
252 265
253 <view-footer></view-footer> 266 <view-footer></view-footer>
254 </template> 267 </template>
255 </polymer-element> 268 </polymer-element>
256 269
257 <script type="application/dart" src="class_view.dart"></script> 270 <script type="application/dart" src="class_view.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/class_view.dart ('k') | runtime/observatory/lib/src/elements/object_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698