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

Unified Diff: runtime/vm/heap.h

Issue 11478012: Provide a mechanism for dumping of heap profiles on predefined events. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address review comments Created 8 years 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/vm/heap.h
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
index ae47fea55d303145731f1b16e4ee2c034154e785..c46664257cd0591a3ad6964ca04aadbfa721ecec 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -158,6 +158,7 @@ class Heap {
// Generates a profile of the current and VM isolate heaps.
void Profile(Dart_FileWriteCallback callback, void* stream) const;
+ void ProfileToFile(const char* reason) const;
static const char* GCReasonToString(GCReason gc_reason);
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | runtime/vm/heap.cc » ('j') | runtime/vm/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698