#include <v8-profiler.h>
◆ RecordCEntryFrame
Enumerator |
---|
kIncludeCEntryFrame | |
kSkipCEntryFrame | |
◆ TickSample()
v8::TickSample::TickSample |
( |
| ) |
|
|
inline |
◆ GetStackSample()
Get a call stack sample from the isolate.
- Parameters
-
isolate | The isolate. |
state | Register state. |
record_c_entry_frame | Include or skip the runtime function. |
frames | Caller allocated buffer to store stack frames. |
frames_limit | Maximum number of frames to capture. The buffer must be large enough to hold the number of frames. |
sample_info | The sample info is filled up by the function provides number of actual captured stack frames and the current VM state. |
use_simulator_reg_state | When set to true and V8 is running under a simulator, the method will use the simulator register state rather than the one provided with |state| argument. Otherwise the method will use provided register |state| as is. |
- Note
- GetStackSample is thread and signal safe and should only be called when the JS thread is paused or interrupted. Otherwise the behavior is undefined.
◆ Init()
Initialize a tick sample from the isolate.
- Parameters
-
isolate | The isolate. |
state | Execution state. |
record_c_entry_frame | Include or skip the runtime function. |
update_stats | Whether update the sample to the aggregated stats. |
use_simulator_reg_state | When set to true and V8 is running under a simulator, the method will use the simulator register state rather than the one provided with |state| argument. Otherwise the method will use provided register |state| as is. |
union { ... } v8::TickSample::@3 |
◆ external_callback_entry
void* v8::TickSample::external_callback_entry |
◆ frames_count
unsigned v8::TickSample::frames_count |
◆ has_external_callback
bool v8::TickSample::has_external_callback |
◆ kMaxFramesCount
◆ kMaxFramesCountLog2
const unsigned v8::TickSample::kMaxFramesCountLog2 = 8 |
|
static |
◆ pc
◆ stack
◆ state
◆ tos
void* v8::TickSample::tos |
◆ update_stats
bool v8::TickSample::update_stats |
The documentation for this struct was generated from the following file: