![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <v8-profiler.h>
Public Types | |
enum | Type { kHidden = 0 , kArray = 1 , kString = 2 , kObject = 3 , kCode = 4 , kClosure = 5 , kRegExp = 6 , kHeapNumber = 7 , kNative = 8 , kSynthetic = 9 , kConsString = 10 , kSlicedString = 11 , kSymbol = 12 , kBigInt = 13 , kObjectShape = 14 } |
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.
Definition at line 583 of file v8-profiler.h.
Enumerator | |
---|---|
kHidden | |
kArray | |
kString | |
kObject | |
kCode | |
kClosure | |
kRegExp | |
kHeapNumber | |
kNative | |
kSynthetic | |
kConsString | |
kSlicedString | |
kSymbol | |
kBigInt | |
kObjectShape |
Definition at line 585 of file v8-profiler.h.
const HeapGraphEdge * v8::HeapGraphNode::GetChild | ( | int | index | ) | const |
int v8::HeapGraphNode::GetChildrenCount | ( | ) | const |
SnapshotObjectId v8::HeapGraphNode::GetId | ( | ) | const |
size_t v8::HeapGraphNode::GetShallowSize | ( | ) | const |
HeapGraphNode::Type v8::HeapGraphNode::GetType | ( | ) | const |
Returns node type (see HeapGraphNode::Type).
Definition at line 11624 of file api.cc.