#include <v8-heap-profiler-agent-impl.h>
|
| V8HeapProfilerAgentImpl (V8InspectorSessionImpl *, protocol::FrontendChannel *, protocol::DictionaryValue *state) |
|
| ~V8HeapProfilerAgentImpl () override |
|
| V8HeapProfilerAgentImpl (const V8HeapProfilerAgentImpl &)=delete |
|
V8HeapProfilerAgentImpl & | operator= (const V8HeapProfilerAgentImpl &)=delete |
|
void | restore () |
|
void | collectGarbage (std::unique_ptr< CollectGarbageCallback > callback) override |
|
Response | enable () override |
|
Response | startTrackingHeapObjects (std::optional< bool > trackAllocations) override |
|
Response | stopTrackingHeapObjects (std::optional< bool > reportProgress, std::optional< bool > treatGlobalObjectsAsRoots, std::optional< bool > captureNumericValue, std::optional< bool > exposeInternals) override |
|
Response | disable () override |
|
void | takeHeapSnapshot (std::optional< bool > reportProgress, std::optional< bool > treatGlobalObjectsAsRoots, std::optional< bool > captureNumericValue, std::optional< bool > exposeInternals, std::unique_ptr< TakeHeapSnapshotCallback > callback) override |
|
Response | getObjectByHeapObjectId (const String16 &heapSnapshotObjectId, std::optional< String16 > objectGroup, std::unique_ptr< protocol::Runtime::RemoteObject > *result) override |
|
Response | addInspectedHeapObject (const String16 &inspectedHeapObjectId) override |
|
Response | getHeapObjectId (const String16 &objectId, String16 *heapSnapshotObjectId) override |
|
Response | startSampling (std::optional< double > samplingInterval, std::optional< bool > includeObjectsCollectedByMajorGC, std::optional< bool > includeObjectsCollectedByMinorGC) override |
|
Response | stopSampling (std::unique_ptr< protocol::HeapProfiler::SamplingHeapProfile > *) override |
|
Response | getSamplingProfile (std::unique_ptr< protocol::HeapProfiler::SamplingHeapProfile > *) override |
|
void | takePendingHeapSnapshots () |
|
◆ V8HeapProfilerAgentImpl() [1/2]
v8_inspector::V8HeapProfilerAgentImpl::V8HeapProfilerAgentImpl |
( |
V8InspectorSessionImpl * | session, |
|
|
protocol::FrontendChannel * | frontendChannel, |
|
|
protocol::DictionaryValue * | state ) |
◆ ~V8HeapProfilerAgentImpl()
v8_inspector::V8HeapProfilerAgentImpl::~V8HeapProfilerAgentImpl |
( |
| ) |
|
|
override |
◆ V8HeapProfilerAgentImpl() [2/2]
◆ addInspectedHeapObject()
Response v8_inspector::V8HeapProfilerAgentImpl::addInspectedHeapObject |
( |
const String16 & | inspectedHeapObjectId | ) |
|
|
override |
◆ collectGarbage()
void v8_inspector::V8HeapProfilerAgentImpl::collectGarbage |
( |
std::unique_ptr< CollectGarbageCallback > | callback | ) |
|
|
override |
◆ disable()
Response v8_inspector::V8HeapProfilerAgentImpl::disable |
( |
| ) |
|
|
override |
◆ enable()
Response v8_inspector::V8HeapProfilerAgentImpl::enable |
( |
| ) |
|
|
override |
◆ getHeapObjectId()
Response v8_inspector::V8HeapProfilerAgentImpl::getHeapObjectId |
( |
const String16 & | objectId, |
|
|
String16 * | heapSnapshotObjectId ) |
|
override |
◆ getObjectByHeapObjectId()
Response v8_inspector::V8HeapProfilerAgentImpl::getObjectByHeapObjectId |
( |
const String16 & | heapSnapshotObjectId, |
|
|
std::optional< String16 > | objectGroup, |
|
|
std::unique_ptr< protocol::Runtime::RemoteObject > * | result ) |
|
override |
◆ getSamplingProfile()
Response v8_inspector::V8HeapProfilerAgentImpl::getSamplingProfile |
( |
std::unique_ptr< protocol::HeapProfiler::SamplingHeapProfile > * | profile | ) |
|
|
override |
◆ onTimer()
void v8_inspector::V8HeapProfilerAgentImpl::onTimer |
( |
void * | data | ) |
|
|
staticprivate |
◆ onTimerImpl()
void v8_inspector::V8HeapProfilerAgentImpl::onTimerImpl |
( |
| ) |
|
|
private |
◆ operator=()
◆ requestHeapStatsUpdate()
void v8_inspector::V8HeapProfilerAgentImpl::requestHeapStatsUpdate |
( |
| ) |
|
|
private |
◆ restore()
void v8_inspector::V8HeapProfilerAgentImpl::restore |
( |
| ) |
|
◆ startSampling()
Response v8_inspector::V8HeapProfilerAgentImpl::startSampling |
( |
std::optional< double > | samplingInterval, |
|
|
std::optional< bool > | includeObjectsCollectedByMajorGC, |
|
|
std::optional< bool > | includeObjectsCollectedByMinorGC ) |
|
override |
◆ startTrackingHeapObjects()
Response v8_inspector::V8HeapProfilerAgentImpl::startTrackingHeapObjects |
( |
std::optional< bool > | trackAllocations | ) |
|
|
override |
◆ startTrackingHeapObjectsInternal()
void v8_inspector::V8HeapProfilerAgentImpl::startTrackingHeapObjectsInternal |
( |
bool | trackAllocations | ) |
|
|
private |
◆ stopSampling()
Response v8_inspector::V8HeapProfilerAgentImpl::stopSampling |
( |
std::unique_ptr< protocol::HeapProfiler::SamplingHeapProfile > * | profile | ) |
|
|
override |
◆ stopTrackingHeapObjects()
Response v8_inspector::V8HeapProfilerAgentImpl::stopTrackingHeapObjects |
( |
std::optional< bool > | reportProgress, |
|
|
std::optional< bool > | treatGlobalObjectsAsRoots, |
|
|
std::optional< bool > | captureNumericValue, |
|
|
std::optional< bool > | exposeInternals ) |
|
override |
◆ stopTrackingHeapObjectsInternal()
void v8_inspector::V8HeapProfilerAgentImpl::stopTrackingHeapObjectsInternal |
( |
| ) |
|
|
private |
◆ takeHeapSnapshot()
void v8_inspector::V8HeapProfilerAgentImpl::takeHeapSnapshot |
( |
std::optional< bool > | reportProgress, |
|
|
std::optional< bool > | treatGlobalObjectsAsRoots, |
|
|
std::optional< bool > | captureNumericValue, |
|
|
std::optional< bool > | exposeInternals, |
|
|
std::unique_ptr< TakeHeapSnapshotCallback > | callback ) |
|
override |
◆ takeHeapSnapshotNow()
◆ takePendingHeapSnapshots()
void v8_inspector::V8HeapProfilerAgentImpl::takePendingHeapSnapshots |
( |
| ) |
|
◆ m_asyncCallbacks
std::shared_ptr<AsyncCallbacks> v8_inspector::V8HeapProfilerAgentImpl::m_asyncCallbacks |
|
private |
◆ m_frontend
protocol::HeapProfiler::Frontend v8_inspector::V8HeapProfilerAgentImpl::m_frontend |
|
private |
◆ m_hasTimer
bool v8_inspector::V8HeapProfilerAgentImpl::m_hasTimer |
|
private |
◆ m_isolate
v8::Isolate* v8_inspector::V8HeapProfilerAgentImpl::m_isolate |
|
private |
◆ m_session
◆ m_state
protocol::DictionaryValue* v8_inspector::V8HeapProfilerAgentImpl::m_state |
|
private |
◆ m_timerDelayInSeconds
double v8_inspector::V8HeapProfilerAgentImpl::m_timerDelayInSeconds |
|
private |
The documentation for this class was generated from the following files: