#include <v8-profiler.h>
Definition at line 69 of file v8-profiler.h.
 
◆ RecordCEntryFrame
| Enumerator | 
|---|
| kIncludeCEntryFrame |  | 
| kSkipCEntryFrame |  | 
Definition at line 73 of file v8-profiler.h.
 
 
◆ TickSample()
◆ 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. |  
 
 
 
◆ external_callback_entry
      
        
          | void* external_callback_entry | 
      
 
 
◆ frames_count
◆ has_external_callback
      
        
          | bool has_external_callback | 
      
 
 
◆ kMaxFramesCount
◆ kMaxFramesCountLog2
  
  | 
        
          | const unsigned kMaxFramesCountLog2 = 8 |  | static | 
 
 
◆ pc
◆ stack
◆ state
◆ tos
◆ update_stats
The documentation for this struct was generated from the following file: