Index: runtime/vm/malloc_hooks.h |
diff --git a/runtime/vm/malloc_hooks.h b/runtime/vm/malloc_hooks.h |
index ae09402388d4fb9b7af1b932b4d78e3f2f6811d7..d741a5f63757653f576f94136b48acc4c7a2b818 100644 |
--- a/runtime/vm/malloc_hooks.h |
+++ b/runtime/vm/malloc_hooks.h |
@@ -10,7 +10,13 @@ |
namespace dart { |
class MallocHooks { |
- static void Init(); |
+ public: |
+ static void InitOnce(); |
+ static void TearDown(); |
+ static void ResetStats(); |
+ |
+ static intptr_t allocation_count(); |
+ static intptr_t heap_allocated_memory_in_bytes(); |
private: |
DISALLOW_ALLOCATION(); |