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

Unified Diff: include/v8-profiler.h

Issue 22852024: Track JS allocations as they arrive with no affection on performance when tracking is switched off (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code style fixes after review #2 Created 7 years, 3 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
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/heap.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8-profiler.h
diff --git a/include/v8-profiler.h b/include/v8-profiler.h
index 217a938329eee70f9483f8d84ef8654c59907a1d..b7833b1feffdfc151ed9980c7bb4b043662a49e9 100644
--- a/include/v8-profiler.h
+++ b/include/v8-profiler.h
@@ -473,6 +473,20 @@ class V8_EXPORT HeapProfiler {
*/
void SetRetainedObjectInfo(UniqueId id, RetainedObjectInfo* info);
+ /**
+ * Starts recording JS allocations immediately as they arrive
+ * and tracking of heap objects population statistics.
Hannes Payer (out of office) 2013/10/02 18:00:29 Please fill up the 80 characters line width.
Alexandra Mikhaylova 2013/10/03 16:27:55 Done.
+ */
+ void StartRecordingHeapAllocations();
+
+ /**
+ * Stops recording JS allocations and tracking of heap objects
+ * population statistics, cleans all collected heap objects
+ * population statistics data.
Hannes Payer (out of office) 2013/10/02 18:00:29 Please fill up the 80 characters line width.
Alexandra Mikhaylova 2013/10/03 16:27:55 Done.
+ */
+ void StopRecordingHeapAllocations();
+
+
private:
HeapProfiler();
~HeapProfiler();
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698