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

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: 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..1d9a26c2b6a35a2be21a22cdc4251d29bea7c38d 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* filename) const;
static const char* GCReasonToString(GCReason gc_reason);

Powered by Google App Engine
This is Rietveld 408576698