V8 API Reference Guide generated from the header files
Data Structures | Public Member Functions | Static Public Attributes
v8::AllocationProfile Class Referenceabstract

#include <v8-profiler.h>

Data Structures

struct  Allocation
 
struct  Node
 

Public Member Functions

virtual NodeGetRootNode ()=0
 

Static Public Attributes

static const int kNoLineNumberInfo = Message::kNoLineNumberInfo
 
static const int kNoColumnNumberInfo = Message::kNoColumnInfo
 

Detailed Description

AllocationProfile is a sampled profile of allocations done by the program. This is structured as a call-graph.

Member Function Documentation

◆ GetRootNode()

virtual Node* v8::AllocationProfile::GetRootNode ( )
pure virtual

Returns the root node of the call-graph. The root node corresponds to an empty JS call-stack. The lifetime of the returned Node* is scoped to the containing AllocationProfile.


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