v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <v8-profiler.h>
Public Types | |
enum | Type { kContextVariable = 0, kElement = 1, kProperty = 2, kInternal = 3, kHidden = 4, kShortcut = 5, kWeak = 6 } |
Public Member Functions | |
Type | GetType () const |
Handle< Value > | GetName () const |
const HeapGraphNode * | GetFromNode () const |
const HeapGraphNode * | GetToNode () const |
HeapSnapshotEdge represents a directed connection between heap graph nodes: from retainers to retained nodes.
Definition at line 212 of file v8-profiler.h.
enum Type |
Enumerator | |
---|---|
kContextVariable | |
kElement | |
kProperty | |
kInternal | |
kHidden | |
kShortcut | |
kWeak |
Definition at line 214 of file v8-profiler.h.
const HeapGraphNode * GetFromNode | ( | ) | const |
Returns edge name. This can be a variable name, an element index, or a property name.
Definition at line 5990 of file api.cc.
References Isolate::factory(), Factory::LookupAsciiSymbol(), Factory::NewNumberFromInt(), v8::Undefined(), and UNREACHABLE.
Referenced by TEST().
const HeapGraphNode * GetToNode | ( | ) | const |
HeapGraphEdge::Type GetType | ( | ) | const |
Returns edge type (see HeapGraphEdge::Type).
Definition at line 5983 of file api.cc.
Referenced by HasWeakEdge(), and TEST().