Chromium Code Reviews| 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(); |