V8 API Reference Guide generated from the header files
|
#include <v8-profiler.h>
Public Member Functions | |
Type | GetType () const |
Local< String > | GetName () const |
SnapshotObjectId | GetId () const |
size_t | GetShallowSize () const |
int | GetChildrenCount () const |
const HeapGraphEdge * | GetChild (int index) const |
HeapGraphNode represents a node in a heap graph.
const HeapGraphEdge* v8::HeapGraphNode::GetChild | ( | int | index | ) | const |
Retrieves a child by index.
int v8::HeapGraphNode::GetChildrenCount | ( | ) | const |
Returns child nodes count of the node.
SnapshotObjectId v8::HeapGraphNode::GetId | ( | ) | const |
Returns node id. For the same heap object, the id remains the same across all snapshots.
Returns node name. Depending on node's type this can be the name of the constructor (for objects), the name of the function (for closures), string value, or an empty string (for compiled code).
size_t v8::HeapGraphNode::GetShallowSize | ( | ) | const |
Returns node's own size, in bytes.
Type v8::HeapGraphNode::GetType | ( | ) | const |
Returns node type (see HeapGraphNode::Type).