| Index: runtime/vm/malloc_hooks.h
|
| diff --git a/runtime/vm/malloc_hooks.h b/runtime/vm/malloc_hooks.h
|
| index 78132c756e13f9d9f04cd91e9aed0f64ca3eee09..a448b07b65901c26900ede1c1e2257924cbf39e4 100644
|
| --- a/runtime/vm/malloc_hooks.h
|
| +++ b/runtime/vm/malloc_hooks.h
|
| @@ -11,14 +11,17 @@
|
| namespace dart {
|
|
|
| class JSONObject;
|
| +class Sample;
|
|
|
| class MallocHooks : public AllStatic {
|
| public:
|
| static void InitOnce();
|
| static void TearDown();
|
| + static bool ProfilingEnabled();
|
| static void ResetStats();
|
| static bool Active();
|
| static void PrintToJSONObject(JSONObject* jsobj);
|
| + static Sample* GetSample(const void* ptr);
|
|
|
| static intptr_t allocation_count();
|
| static intptr_t heap_allocated_memory_in_bytes();
|
|
|