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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/elements/class_view.html
diff --git a/runtime/observatory/lib/src/elements/class_view.html b/runtime/observatory/lib/src/elements/class_view.html
index 5dadba6884e1183f8209fb616de3d2dd5d1552e3..6e5988794b7f086a4e7d38362635180ab4cd5c64 100644
--- a/runtime/observatory/lib/src/elements/class_view.html
+++ b/runtime/observatory/lib/src/elements/class_view.html
@@ -181,6 +181,19 @@
</div>
</div>
<div class="memberItem">
+ <div class="memberName">total reachable memory size</div>
+ <div class="memberValue">
+ <template if="{{ reachableBytes == null }}">
+ <eval-link callback="{{ reachableSize }}"
+ label="[calculate]">
+ </eval-link>
+ </template>
+ <template if="{{ reachableBytes != null }}">
+ {{ reachableBytes | formatSize }}
+ </template>
+ </div>
+ </div>
+ <div class="memberItem">
<div class="memberName">total retained memory size</div>
<div class="memberValue">
<template if="{{ retainedBytes == null }}">

Powered by Google App Engine
This is Rietveld 408576698