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

Unified Diff: runtime/vm/heap.h

Issue 10452006: Implement a heap profiler for the Dart managed heap. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 months 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 a2f4f2b3f0bc288dbc47262a602e50727f700e2c..5df69853ebbdb2a61dff6e3c1b720b38a1f73cb7 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -114,6 +114,9 @@ class Heap {
// Print heap sizes.
void PrintSizes() const;
+ // Generates a profile of the current and VM isolate heaps.
turnidge 2012/05/29 17:50:01 Out of curiosity -- by including the VM isolate he
cshapiro 2012/06/01 04:27:02 Based on experience, the most common use of this d
+ void Profile(Dart_HeapProfileWriteCallback callback, void* stream) const;
+
private:
Heap();

Powered by Google App Engine
This is Rietveld 408576698