Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
v8::HeapProfiler::HeapSnapshotOptions Struct Referencefinal

#include <v8-profiler.h>

Collaboration diagram for v8::HeapProfiler::HeapSnapshotOptions:
[legend]

Public Member Functions

 HeapSnapshotOptions ()
 
 HeapSnapshotOptions (const HeapSnapshotOptions &)=default
 
 HeapSnapshotOptions (HeapSnapshotOptions &&)=default
 
HeapSnapshotOptionsoperator= (const HeapSnapshotOptions &)=default
 
HeapSnapshotOptionsoperator= (HeapSnapshotOptions &&)=default
 

Public Attributes

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

Constructor & Destructor Documentation

◆ HeapSnapshotOptions() [1/3]

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

◆ HeapSnapshotOptions() [2/3]

v8::HeapProfiler::HeapSnapshotOptions::HeapSnapshotOptions ( const HeapSnapshotOptions )
default

◆ HeapSnapshotOptions() [3/3]

v8::HeapProfiler::HeapSnapshotOptions::HeapSnapshotOptions ( HeapSnapshotOptions &&  )
default

Member Function Documentation

◆ operator=() [1/2]

HeapSnapshotOptions & v8::HeapProfiler::HeapSnapshotOptions::operator= ( const HeapSnapshotOptions )
default

◆ operator=() [2/2]

HeapSnapshotOptions & v8::HeapProfiler::HeapSnapshotOptions::operator= ( HeapSnapshotOptions &&  )
default

Member Data Documentation

◆ context_name_resolver

ContextNameResolver* v8::HeapProfiler::HeapSnapshotOptions::context_name_resolver = nullptr

The resolver used by the snapshot generator to get names for v8::Context objects. In case both this and |global_object_name_resolver| callbacks are provided, this one will be used.

◆ control

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

The control used to report intermediate progress to.

◆ 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.

◆ numerics_mode

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

Mode for dealing with numeric values, see NumericsMode.

◆ snapshot_mode

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

Mode for taking the snapshot, see HeapSnapshotMode.

◆ stack_state

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

Whether stack is considered as a root set.


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