|
V8 Project
|
#include <allocation-tracker.h>
Collaboration diagram for v8::internal::AllocationTraceNode: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) |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (AllocationTraceNode) | |
Private Attributes | |
| AllocationTraceTree * | tree_ |
| unsigned | function_info_index_ |
| unsigned | total_size_ |
| unsigned | allocation_count_ |
| unsigned | id_ |
| List< AllocationTraceNode * > | children_ |
Definition at line 17 of file allocation-tracker.h.
| v8::internal::AllocationTraceNode::AllocationTraceNode | ( | AllocationTraceTree * | tree, |
| unsigned | function_info_index | ||
| ) |
Definition at line 14 of file allocation-tracker.cc.
Referenced by FindOrAddChild().
Here is the caller graph for this function:| v8::internal::AllocationTraceNode::~AllocationTraceNode | ( | ) |
Definition at line 24 of file allocation-tracker.cc.
References children_.
| void v8::internal::AllocationTraceNode::AddAllocation | ( | unsigned | size | ) |
Definition at line 50 of file allocation-tracker.cc.
References allocation_count_, size, and total_size_.
Referenced by v8::internal::AllocationTracker::AllocationEvent().
Here is the caller graph for this function:
|
inline |
Definition at line 28 of file allocation-tracker.h.
References allocation_count_.
Referenced by v8::internal::HeapSnapshotJSONSerializer::SerializeTraceNode().
Here is the caller graph for this function:
|
inline |
Definition at line 27 of file allocation-tracker.h.
References total_size_.
Referenced by v8::internal::HeapSnapshotJSONSerializer::SerializeTraceNode().
Here is the caller graph for this function:
|
inline |
Definition at line 30 of file allocation-tracker.h.
References children_.
Referenced by v8::internal::HeapSnapshotJSONSerializer::SerializeTraceNode().
Here is the caller graph for this function:
|
private |
| AllocationTraceNode * v8::internal::AllocationTraceNode::FindChild | ( | unsigned | function_info_index | ) |
Definition at line 29 of file allocation-tracker.cc.
References children_, function_info_index(), and NULL.
Referenced by FindOrAddChild().
Here is the call graph for this function:
Here is the caller graph for this function:| AllocationTraceNode * v8::internal::AllocationTraceNode::FindOrAddChild | ( | unsigned | function_info_index | ) |
Definition at line 39 of file allocation-tracker.cc.
References AllocationTraceNode(), children_, FindChild(), function_info_index(), NULL, and tree_.
Referenced by v8::internal::AllocationTraceTree::AddPathFromEnd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 26 of file allocation-tracker.h.
References function_info_index_.
Referenced by FindChild(), FindOrAddChild(), and v8::internal::HeapSnapshotJSONSerializer::SerializeTraceNode().
Here is the caller graph for this function:
|
inline |
Definition at line 29 of file allocation-tracker.h.
References id_.
Referenced by v8::internal::AllocationTracker::AllocationEvent(), and v8::internal::HeapSnapshotJSONSerializer::SerializeTraceNode().
Here is the caller graph for this function:| void v8::internal::AllocationTraceNode::Print | ( | int | indent, |
| AllocationTracker * | tracker | ||
| ) |
Definition at line 56 of file allocation-tracker.cc.
References allocation_count_, children_, function_info_index_, v8::internal::AllocationTracker::function_info_list(), id_, v8::internal::AllocationTracker::FunctionInfo::name, NULL, v8::base::OS::Print(), and total_size_.
Referenced by v8::internal::AllocationTraceTree::Print().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 38 of file allocation-tracker.h.
Referenced by AddAllocation(), allocation_count(), and Print().
|
private |
Definition at line 40 of file allocation-tracker.h.
Referenced by children(), FindChild(), FindOrAddChild(), Print(), and ~AllocationTraceNode().
|
private |
Definition at line 36 of file allocation-tracker.h.
Referenced by function_info_index(), and Print().
|
private |
Definition at line 39 of file allocation-tracker.h.
|
private |
Definition at line 37 of file allocation-tracker.h.
Referenced by AddAllocation(), allocation_size(), and Print().
|
private |
Definition at line 35 of file allocation-tracker.h.
Referenced by FindOrAddChild().