v8-profiler.h | v8-profiler.h | |||
---|---|---|---|---|
skipping to change at line 443 | skipping to change at line 443 | |||
*/ | */ | |||
static void StartHeapObjectsTracking(); | static void StartHeapObjectsTracking(); | |||
/** | /** | |||
* Adds a new time interval entry to the aggregated statistics array. The | * Adds a new time interval entry to the aggregated statistics array. The | |||
* time interval entry contains information on the current heap objects | * time interval entry contains information on the current heap objects | |||
* population size. The method also updates aggregated statistics and | * population size. The method also updates aggregated statistics and | |||
* reports updates for all previous time intervals via the OutputStream | * reports updates for all previous time intervals via the OutputStream | |||
* object. Updates on each time interval are provided as a stream of the | * object. Updates on each time interval are provided as a stream of the | |||
* HeapStatsUpdate structure instances. | * HeapStatsUpdate structure instances. | |||
* The return value of the function is the last seen heap object Id. | ||||
* | * | |||
* StartHeapObjectsTracking must be called before the first call to this | * StartHeapObjectsTracking must be called before the first call to this | |||
* method. | * method. | |||
*/ | */ | |||
static void PushHeapObjectsStats(OutputStream* stream); | static SnapshotObjectId PushHeapObjectsStats(OutputStream* stream); | |||
/** | /** | |||
* Stops tracking of heap objects population statistics, cleans up all | * Stops tracking of heap objects population statistics, cleans up all | |||
* collected data. StartHeapObjectsTracking must be called again prior to | * collected data. StartHeapObjectsTracking must be called again prior to | |||
* calling PushHeapObjectsStats next time. | * calling PushHeapObjectsStats next time. | |||
*/ | */ | |||
static void StopHeapObjectsTracking(); | static void StopHeapObjectsTracking(); | |||
/** | /** | |||
* Deletes all snapshots taken. All previously returned pointers to | * Deletes all snapshots taken. All previously returned pointers to | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||