| Index: include/v8-profiler.h
|
| diff --git a/include/v8-profiler.h b/include/v8-profiler.h
|
| index 7016a79b81e5dd0e5755dadae0a8d1abdc9d726f..0882d6452732373293bf6deb2a4e3ba92c3eff0e 100644
|
| --- a/include/v8-profiler.h
|
| +++ b/include/v8-profiler.h
|
| @@ -475,6 +475,19 @@ 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.
|
| + */
|
| + void StartRecordingHeapAllocations();
|
| +
|
| + /**
|
| + * Stops recording JS allocations and tracking of heap objects population
|
| + * statistics, cleans all collected heap objects population statistics data.
|
| + */
|
| + void StopRecordingHeapAllocations();
|
| +
|
| +
|
| private:
|
| HeapProfiler();
|
| ~HeapProfiler();
|
|
|