Chromium Code Reviews| Index: runtime/vm/heap.h |
| diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h |
| index 88c0e04de79edab79dff0b3828455a24728d652c..f77006556c17678cee7006951ae14a10464d8429 100644 |
| --- a/runtime/vm/heap.h |
| +++ b/runtime/vm/heap.h |
| @@ -118,6 +118,9 @@ class Heap { |
| // Print heap sizes. |
| void PrintSizes() const; |
| + // Generates a profile of the current and VM isolate heaps. |
| + void Profile(Dart_HeapProfileWriteCallback callback, void* stream) const; |
| + |
| private: |
| Heap(); |