v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <allocation-tracker.h>
Public Member Functions | |
AllocationTraceNode (AllocationTraceTree *tree, unsigned function_info_index) | |
~AllocationTraceNode () | |
AllocationTraceNode * | FindChild (unsigned function_info_index) |
AllocationTraceNode * | FindOrAddChild (unsigned function_info_index) |
void | AddAllocation (unsigned size) |
unsigned | function_info_index () const |
unsigned | allocation_size () const |
unsigned | allocation_count () const |
unsigned | id () const |
Vector< AllocationTraceNode * > | children () const |
void | Print (int indent, AllocationTracker *tracker) |
Definition at line 40 of file allocation-tracker.h.
AllocationTraceNode | ( | AllocationTraceTree * | tree, |
unsigned | function_info_index | ||
) |
Definition at line 38 of file allocation-tracker.cc.
Referenced by AllocationTraceNode::FindOrAddChild().
~AllocationTraceNode | ( | ) |
Definition at line 48 of file allocation-tracker.cc.
void AddAllocation | ( | unsigned | size | ) |
Definition at line 74 of file allocation-tracker.cc.
References v8::internal::size.
Referenced by AllocationTracker::AllocationEvent().
|
inline |
Definition at line 51 of file allocation-tracker.h.
|
inline |
Definition at line 50 of file allocation-tracker.h.
|
inline |
Definition at line 53 of file allocation-tracker.h.
AllocationTraceNode * FindChild | ( | unsigned | function_info_index | ) |
Definition at line 53 of file allocation-tracker.cc.
References AllocationTraceNode::function_info_index(), and v8::internal::NULL.
Referenced by AllocationTraceNode::FindOrAddChild().
AllocationTraceNode * FindOrAddChild | ( | unsigned | function_info_index | ) |
Definition at line 63 of file allocation-tracker.cc.
References AllocationTraceNode::AllocationTraceNode(), AllocationTraceNode::FindChild(), and v8::internal::NULL.
Referenced by AllocationTraceTree::AddPathFromEnd().
|
inline |
Definition at line 49 of file allocation-tracker.h.
Referenced by AllocationTraceNode::FindChild().
|
inline |
Definition at line 52 of file allocation-tracker.h.
Referenced by AllocationTracker::AllocationEvent().
void Print | ( | int | indent, |
AllocationTracker * | tracker | ||
) |
Definition at line 80 of file allocation-tracker.cc.
References AllocationTracker::function_info_list(), v8::internal::info, AllocationTracker::FunctionInfo::name, v8::internal::NULL, and OS::Print().
Referenced by AllocationTraceTree::Print().