v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8_inspector::V8HeapProfilerAgentImpl::HeapSnapshotTask Class Reference
Inheritance diagram for v8_inspector::V8HeapProfilerAgentImpl::HeapSnapshotTask:
Collaboration diagram for v8_inspector::V8HeapProfilerAgentImpl::HeapSnapshotTask:

Public Member Functions

 HeapSnapshotTask (V8HeapProfilerAgentImpl *agent, std::shared_ptr< AsyncCallbacks > asyncCallbacks, HeapSnapshotProtocolOptions protocolOptions, std::unique_ptr< TakeHeapSnapshotCallback > callback)
 
void Run () override
 
void Run (cppgc::EmbedderStackState stackState)
 
- Public Member Functions inherited from v8::Task
virtual ~Task ()=default
 

Private Attributes

V8HeapProfilerAgentImplm_agent
 
std::weak_ptr< AsyncCallbacksm_asyncCallbacks
 
HeapSnapshotProtocolOptions m_protocolOptions
 
std::unique_ptr< TakeHeapSnapshotCallback > m_callback
 

Detailed Description

Definition at line 198 of file v8-heap-profiler-agent-impl.cc.

Constructor & Destructor Documentation

◆ HeapSnapshotTask()

v8_inspector::V8HeapProfilerAgentImpl::HeapSnapshotTask::HeapSnapshotTask ( V8HeapProfilerAgentImpl * agent,
std::shared_ptr< AsyncCallbacks > asyncCallbacks,
HeapSnapshotProtocolOptions protocolOptions,
std::unique_ptr< TakeHeapSnapshotCallback > callback )
inline

Definition at line 200 of file v8-heap-profiler-agent-impl.cc.

Member Function Documentation

◆ Run() [1/2]

void v8_inspector::V8HeapProfilerAgentImpl::HeapSnapshotTask::Run ( )
inlineoverridevirtual

Implements v8::Task.

Definition at line 209 of file v8-heap-profiler-agent-impl.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Run() [2/2]

void v8_inspector::V8HeapProfilerAgentImpl::HeapSnapshotTask::Run ( cppgc::EmbedderStackState stackState)
inline

Definition at line 211 of file v8-heap-profiler-agent-impl.cc.

Here is the call graph for this function:

Member Data Documentation

◆ m_agent

V8HeapProfilerAgentImpl* v8_inspector::V8HeapProfilerAgentImpl::HeapSnapshotTask::m_agent
private

Definition at line 250 of file v8-heap-profiler-agent-impl.cc.

◆ m_asyncCallbacks

std::weak_ptr<AsyncCallbacks> v8_inspector::V8HeapProfilerAgentImpl::HeapSnapshotTask::m_asyncCallbacks
private

Definition at line 251 of file v8-heap-profiler-agent-impl.cc.

◆ m_callback

std::unique_ptr<TakeHeapSnapshotCallback> v8_inspector::V8HeapProfilerAgentImpl::HeapSnapshotTask::m_callback
private

Definition at line 253 of file v8-heap-profiler-agent-impl.cc.

◆ m_protocolOptions

HeapSnapshotProtocolOptions v8_inspector::V8HeapProfilerAgentImpl::HeapSnapshotTask::m_protocolOptions
private

Definition at line 252 of file v8-heap-profiler-agent-impl.cc.


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