v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AllocationTraceNode Class Reference

#include <allocation-tracker.h>

Public Member Functions

 AllocationTraceNode (AllocationTraceTree *tree, unsigned function_info_index)
 
 ~AllocationTraceNode ()
 
AllocationTraceNodeFindChild (unsigned function_info_index)
 
AllocationTraceNodeFindOrAddChild (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)
 

Detailed Description

Definition at line 40 of file allocation-tracker.h.

Constructor & Destructor Documentation

AllocationTraceNode ( AllocationTraceTree tree,
unsigned  function_info_index 
)

Definition at line 38 of file allocation-tracker.cc.

Referenced by AllocationTraceNode::FindOrAddChild().

Definition at line 48 of file allocation-tracker.cc.

Member Function Documentation

void AddAllocation ( unsigned  size)

Definition at line 74 of file allocation-tracker.cc.

References v8::internal::size.

Referenced by AllocationTracker::AllocationEvent().

unsigned allocation_count ( ) const
inline

Definition at line 51 of file allocation-tracker.h.

unsigned allocation_size ( ) const
inline

Definition at line 50 of file allocation-tracker.h.

Vector<AllocationTraceNode*> children ( ) const
inline

Definition at line 53 of file allocation-tracker.h.

AllocationTraceNode * FindChild ( unsigned  function_info_index)
AllocationTraceNode * FindOrAddChild ( unsigned  function_info_index)
unsigned function_info_index ( ) const
inline

Definition at line 49 of file allocation-tracker.h.

Referenced by AllocationTraceNode::FindChild().

unsigned id ( ) const
inline

Definition at line 52 of file allocation-tracker.h.

Referenced by AllocationTracker::AllocationEvent().


The documentation for this class was generated from the following files: