v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
AllocationProfile Class Referenceabstract

#include <v8-profiler.h>

Data Structures

struct  Allocation
 
struct  Node
 
struct  Sample
 

Public Member Functions

virtual NodeGetRootNode ()=0
 
virtual const std::vector< Sample > & GetSamples ()=0
 
virtual ~AllocationProfile ()=default
 

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.

Definition at line 712 of file v8-profiler.h.

Constructor & Destructor Documentation

◆ ~AllocationProfile()

virtual ~AllocationProfile ( )
virtualdefault

Member Function Documentation

◆ GetRootNode()

virtual Node * 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.

◆ GetSamples()

virtual const std::vector< Sample > & GetSamples ( )
pure virtual

Field Documentation

◆ kNoColumnNumberInfo

const int kNoColumnNumberInfo = Message::kNoColumnInfo
static

Definition at line 820 of file v8-profiler.h.

◆ kNoLineNumberInfo

const int kNoLineNumberInfo = Message::kNoLineNumberInfo
static

Definition at line 819 of file v8-profiler.h.


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