v8-profiler.h | v8-profiler.h | |||
---|---|---|---|---|
skipping to change at line 410 | skipping to change at line 410 | |||
*/ | */ | |||
typedef RetainedObjectInfo* (*WrapperInfoCallback) | typedef RetainedObjectInfo* (*WrapperInfoCallback) | |||
(uint16_t class_id, Handle<Value> wrapper); | (uint16_t class_id, Handle<Value> wrapper); | |||
/** Returns the number of snapshots taken. */ | /** Returns the number of snapshots taken. */ | |||
int GetSnapshotCount(); | int GetSnapshotCount(); | |||
/** Returns a snapshot by index. */ | /** Returns a snapshot by index. */ | |||
const HeapSnapshot* GetHeapSnapshot(int index); | const HeapSnapshot* GetHeapSnapshot(int index); | |||
/** Returns a profile by uid. */ | ||||
V8_DEPRECATED(const HeapSnapshot* FindHeapSnapshot(unsigned uid)); | ||||
/** | /** | |||
* Returns SnapshotObjectId for a heap object referenced by |value| if | * Returns SnapshotObjectId for a heap object referenced by |value| if | |||
* it has been seen by the heap profiler, kUnknownObjectId otherwise. | * it has been seen by the heap profiler, kUnknownObjectId otherwise. | |||
*/ | */ | |||
SnapshotObjectId GetObjectId(Handle<Value> value); | SnapshotObjectId GetObjectId(Handle<Value> value); | |||
/** | /** | |||
* A constant for invalid SnapshotObjectId. GetSnapshotObjectId will retu rn | * A constant for invalid SnapshotObjectId. GetSnapshotObjectId will retu rn | |||
* it in case heap profiler cannot find id for the object passed as | * it in case heap profiler cannot find id for the object passed as | |||
* parameter. HeapSnapshot::GetNodeById will always return NULL for such id. | * parameter. HeapSnapshot::GetNodeById will always return NULL for such id. | |||
End of changes. 1 change blocks. | ||||
3 lines changed or deleted | 0 lines changed or added | |||