v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::HeapProfiler::HeapSnapshotOptions Struct Referencefinal

#include <v8-profiler.h>

Collaboration diagram for v8::HeapProfiler::HeapSnapshotOptions:

Public Member Functions

 HeapSnapshotOptions ()
 

Public Attributes

ActivityControlcontrol = nullptr
 
ObjectNameResolverglobal_object_name_resolver = nullptr
 
HeapSnapshotMode snapshot_mode = HeapSnapshotMode::kRegular
 
NumericsMode numerics_mode = NumericsMode::kHideNumericValues
 
cppgc::EmbedderStackState stack_state
 

Detailed Description

Definition at line 1076 of file v8-profiler.h.

Constructor & Destructor Documentation

◆ HeapSnapshotOptions()

v8::HeapProfiler::HeapSnapshotOptions::HeapSnapshotOptions ( )
inline

Definition at line 1080 of file v8-profiler.h.

Member Data Documentation

◆ control

ActivityControl* v8::HeapProfiler::HeapSnapshotOptions::control = nullptr

The control used to report intermediate progress to.

Definition at line 1085 of file v8-profiler.h.

◆ global_object_name_resolver

ObjectNameResolver* v8::HeapProfiler::HeapSnapshotOptions::global_object_name_resolver = nullptr

The resolver used by the snapshot generator to get names for V8 objects.

Definition at line 1089 of file v8-profiler.h.

◆ numerics_mode

NumericsMode v8::HeapProfiler::HeapSnapshotOptions::numerics_mode = NumericsMode::kHideNumericValues

Mode for dealing with numeric values, see NumericsMode.

Definition at line 1097 of file v8-profiler.h.

◆ snapshot_mode

HeapSnapshotMode v8::HeapProfiler::HeapSnapshotOptions::snapshot_mode = HeapSnapshotMode::kRegular

Mode for taking the snapshot, see HeapSnapshotMode.

Definition at line 1093 of file v8-profiler.h.

◆ stack_state

cppgc::EmbedderStackState v8::HeapProfiler::HeapSnapshotOptions::stack_state
Initial value:

Whether stack is considered as a root set.

Definition at line 1101 of file v8-profiler.h.


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