v8  6.8.275 (node 10.15.3)
V8 is Google's open source JavaScript engine
AllocationProfile Class Referenceabstract

#include <v8-profiler.h>

Data Structures

struct  Allocation
struct  Node

Public Member Functions

virtual NodeGetRootNode ()=0
virtual ~AllocationProfile ()

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 556 of file v8-profiler.h.

Constructor & Destructor Documentation

◆ ~AllocationProfile()

virtual ~AllocationProfile ( )

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

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.

Field Documentation

◆ kNoColumnNumberInfo

const int kNoColumnNumberInfo = Message::kNoColumnInfo

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

◆ kNoLineNumberInfo

const int kNoLineNumberInfo = Message::kNoLineNumberInfo

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

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