v8-profiler.h | v8-profiler.h | |||
---|---|---|---|---|
skipping to change at line 341 | skipping to change at line 341 | |||
/** Returns heap snapshot title. */ | /** Returns heap snapshot title. */ | |||
Handle<String> GetTitle() const; | Handle<String> GetTitle() const; | |||
/** Returns the root node of the heap graph. */ | /** Returns the root node of the heap graph. */ | |||
const HeapGraphNode* GetRoot() const; | const HeapGraphNode* GetRoot() const; | |||
/** Returns a node by its id. */ | /** Returns a node by its id. */ | |||
const HeapGraphNode* GetNodeById(uint64_t id) const; | const HeapGraphNode* GetNodeById(uint64_t id) const; | |||
/** Returns total nodes count in the snapshot. */ | ||||
int GetNodesCount() const; | ||||
/** Returns a node by index. */ | ||||
const HeapGraphNode* GetNode(int index) const; | ||||
/** | /** | |||
* Deletes the snapshot and removes it from HeapProfiler's list. | * Deletes the snapshot and removes it from HeapProfiler's list. | |||
* All pointers to nodes, edges and paths previously returned become | * All pointers to nodes, edges and paths previously returned become | |||
* invalid. | * invalid. | |||
*/ | */ | |||
void Delete(); | void Delete(); | |||
/** | /** | |||
* Prepare a serialized representation of the snapshot. The result | * Prepare a serialized representation of the snapshot. The result | |||
* is written into the stream provided in chunks of specified size. | * is written into the stream provided in chunks of specified size. | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 6 lines changed or added | |||