![]() |
v8 14.1.146 (node 25.0.0)
V8 is Google's open source JavaScript engine
|
#include <v8-profiler.h>

Data Fields | |
| Local< String > | name |
| Local< String > | script_name |
| int | script_id |
| int | start_position |
| int | line_number |
| int | column_number |
| uint32_t | node_id |
| std::vector< Node * > | children |
| std::vector< Allocation > | allocations |
Represents a node in the call-graph.
Definition at line 736 of file v8-profiler.h.
| std::vector<Allocation> allocations |
List of self allocations done by this node in the call-graph.
Definition at line 787 of file v8-profiler.h.
| std::vector<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.
Definition at line 782 of file v8-profiler.h.
| int column_number |
1-indexed column number where the function starts. May be kNoColumnNumberInfo if no line number information is available.
Definition at line 770 of file v8-profiler.h.
| int line_number |
1-indexed line number where the function starts. May be kNoLineNumberInfo if no line number information is available.
Definition at line 764 of file v8-profiler.h.
Name of the function. May be empty for anonymous functions or if the script corresponding to this function has been unloaded.
Definition at line 741 of file v8-profiler.h.
| uint32_t node_id |
Unique id of the node.
Definition at line 775 of file v8-profiler.h.
| int 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.
Definition at line 753 of file v8-profiler.h.
Name of the script containing the function. May be empty if the script name is not available, or if the script has been unloaded.
Definition at line 747 of file v8-profiler.h.
| int start_position |
Start position of the function in the script.
Definition at line 758 of file v8-profiler.h.