#include <v8-profiler.h>
|
static const int | kNoLineNumberInfo = Message::kNoLineNumberInfo |
|
static const int | kNoColumnNumberInfo = Message::kNoColumnInfo |
|
CpuProfileNode represents a node in a call graph.
Definition at line 122 of file v8-profiler.h.
◆ GetBailoutReason()
const char * v8::CpuProfileNode::GetBailoutReason |
( |
| ) |
const |
Returns bailout reason for the function if the optimization was disabled for it.
Definition at line 10027 of file api.cc.
◆ GetChild()
Retrieves a child node by index.
Definition at line 10054 of file api.cc.
◆ GetChildrenCount()
int v8::CpuProfileNode::GetChildrenCount |
( |
| ) |
const |
Returns child nodes count of the node.
Definition at line 10048 of file api.cc.
◆ GetColumnNumber()
int v8::CpuProfileNode::GetColumnNumber |
( |
| ) |
const |
Returns 1-based number of the column where the function originates. kNoColumnNumberInfo if no column number information is available.
Definition at line 10008 of file api.cc.
◆ GetDeoptInfos()
Retrieves deopt infos for the node.
Definition at line 10061 of file api.cc.
◆ GetFunctionName()
Local< String > v8::CpuProfileNode::GetFunctionName |
( |
| ) |
const |
Returns function name (empty string for anonymous functions.)
Definition at line 9817 of file api.cc.
◆ GetFunctionNameStr()
const char * v8::CpuProfileNode::GetFunctionNameStr |
( |
| ) |
const |
Returns function name (empty string for anonymous functions.) The string ownership is not passed to the caller. It stays valid until profile is deleted. The function is thread safe.
Definition at line 9980 of file api.cc.
◆ GetHitCount()
unsigned v8::CpuProfileNode::GetHitCount |
( |
| ) |
const |
Returns the count of samples where the function was currently executing.
Definition at line 10033 of file api.cc.
◆ GetHitLineCount()
unsigned int v8::CpuProfileNode::GetHitLineCount |
( |
| ) |
const |
Returns the number of the function's source lines that collect the samples.
Definition at line 10014 of file api.cc.
◆ GetLineNumber()
int v8::CpuProfileNode::GetLineNumber |
( |
| ) |
const |
Returns the number, 1-based, of the line where the function originates. kNoLineNumberInfo if no line number information is available.
Definition at line 10003 of file api.cc.
◆ GetLineTicks()
Returns the set of source lines that collect the samples. The caller allocates buffer and responsible for releasing it. True if all available entries are copied, otherwise false. The function copies nothing if buffer is not large enough.
Definition at line 10020 of file api.cc.
◆ GetNodeId()
unsigned v8::CpuProfileNode::GetNodeId |
( |
| ) |
const |
Returns id of the node. The id is unique within the tree
Definition at line 10043 of file api.cc.
◆ GetScriptId()
int v8::CpuProfileNode::GetScriptId |
( |
| ) |
const |
Returns id of the script where function is located.
Definition at line 9985 of file api.cc.
◆ GetScriptResourceName()
Local< String > v8::CpuProfileNode::GetScriptResourceName |
( |
| ) |
const |
Returns resource name for script from where the function originates.
Definition at line 9991 of file api.cc.
◆ GetScriptResourceNameStr()
const char * v8::CpuProfileNode::GetScriptResourceNameStr |
( |
| ) |
const |
Returns resource name for script from where the function originates. The string ownership is not passed to the caller. It stays valid until profile is deleted. The function is thread safe.
Definition at line 9998 of file api.cc.
◆ V8_DEPRECATE_SOON()
Returns function entry UID.
The documentation for this class was generated from the following files: