Loading...
Searching...
No Matches
Public Attributes | List of all members
v8::AllocationProfile::Node Struct Reference

#include <v8-profiler.h>

Collaboration diagram for v8::AllocationProfile::Node:
[legend]

Public Attributes

Local< Stringname
 
Local< Stringscript_name
 
int script_id
 
int start_position
 
int line_number
 
int column_number
 
uint32_t node_id
 
std::vector< Node * > children
 
std::vector< Allocationallocations
 

Detailed Description

Represents a node in the call-graph.

Member Data Documentation

◆ allocations

std::vector<Allocation> v8::AllocationProfile::Node::allocations

List of self allocations done by this node in the call-graph.

◆ children

std::vector<Node*> v8::AllocationProfile::Node::children

List of callees called from this node for which we have sampled allocations. The lifetime of the children is scoped to the containing AllocationProfile.

◆ column_number

int v8::AllocationProfile::Node::column_number

1-indexed column number where the function starts. May be kNoColumnNumberInfo if no line number information is available.

◆ line_number

int v8::AllocationProfile::Node::line_number

1-indexed line number where the function starts. May be kNoLineNumberInfo if no line number information is available.

◆ name

Local<String> v8::AllocationProfile::Node::name

Name of the function. May be empty for anonymous functions or if the script corresponding to this function has been unloaded.

◆ node_id

uint32_t v8::AllocationProfile::Node::node_id

Unique id of the node.

◆ script_id

int v8::AllocationProfile::Node::script_id

id of the script where the function is located. May be equal to v8::UnboundScript::kNoScriptId in cases where the script doesn't exist.

◆ script_name

Local<String> v8::AllocationProfile::Node::script_name

Name of the script containing the function. May be empty if the script name is not available, or if the script has been unloaded.

◆ start_position

int v8::AllocationProfile::Node::start_position

Start position of the function in the script.


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