Index: runtime/vm/object_graph.h |
=================================================================== |
--- runtime/vm/object_graph.h (revision 35753) |
+++ runtime/vm/object_graph.h (working copy) |
@@ -61,6 +61,12 @@ |
// (including 'root' itself). |
void IterateObjectsFrom(const Object& root, Visitor* visitor); |
+ // The number of bytes retained by 'obj'. |
+ intptr_t SizeRetainedByInstance(const Object& obj); |
+ |
+ // The number of bytes retained by the set of all objects of the given class. |
+ intptr_t SizeRetainedByClass(intptr_t class_id); |
+ |
private: |
Isolate* isolate_; |
DISALLOW_IMPLICIT_CONSTRUCTORS(ObjectGraph); |