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

#include <tracing-cpu-profiler.h>

Inheritance diagram for v8::internal::TracingCpuProfilerImpl:
Collaboration diagram for v8::internal::TracingCpuProfilerImpl:

Public Member Functions

 TracingCpuProfilerImpl (Isolate *)
 
 ~TracingCpuProfilerImpl () override
 
 TracingCpuProfilerImpl (const TracingCpuProfilerImpl &)=delete
 
TracingCpuProfilerImploperator= (const TracingCpuProfilerImpl &)=delete
 
void OnTraceEnabled () final
 
void OnTraceDisabled () final
 

Private Member Functions

void StartProfiling ()
 
void StopProfiling ()
 
- Private Member Functions inherited from v8::TracingController::TraceStateObserver
virtual ~TraceStateObserver ()=default
 

Private Attributes

Isolateisolate_
 
std::unique_ptr< CpuProfilerprofiler_
 
bool profiling_enabled_
 
base::Mutex mutex_
 

Detailed Description

Definition at line 22 of file tracing-cpu-profiler.h.

Constructor & Destructor Documentation

◆ TracingCpuProfilerImpl() [1/2]

v8::internal::TracingCpuProfilerImpl::TracingCpuProfilerImpl ( Isolate * isolate)
explicit

Definition at line 15 of file tracing-cpu-profiler.cc.

Here is the call graph for this function:

◆ ~TracingCpuProfilerImpl()

v8::internal::TracingCpuProfilerImpl::~TracingCpuProfilerImpl ( )
override

Definition at line 26 of file tracing-cpu-profiler.cc.

Here is the call graph for this function:

◆ TracingCpuProfilerImpl() [2/2]

v8::internal::TracingCpuProfilerImpl::TracingCpuProfilerImpl ( const TracingCpuProfilerImpl & )
delete

Member Function Documentation

◆ OnTraceDisabled()

void v8::internal::TracingCpuProfilerImpl::OnTraceDisabled ( )
finalvirtual

Implements v8::TracingController::TraceStateObserver.

Definition at line 69 of file tracing-cpu-profiler.cc.

Here is the call graph for this function:

◆ OnTraceEnabled()

void v8::internal::TracingCpuProfilerImpl::OnTraceEnabled ( )
finalvirtual

Implements v8::TracingController::TraceStateObserver.

Definition at line 40 of file tracing-cpu-profiler.cc.

Here is the call graph for this function:

◆ operator=()

TracingCpuProfilerImpl & v8::internal::TracingCpuProfilerImpl::operator= ( const TracingCpuProfilerImpl & )
delete

◆ StartProfiling()

void v8::internal::TracingCpuProfilerImpl::StartProfiling ( )
private

Definition at line 87 of file tracing-cpu-profiler.cc.

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

◆ StopProfiling()

void v8::internal::TracingCpuProfilerImpl::StopProfiling ( )
private

Definition at line 97 of file tracing-cpu-profiler.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ isolate_

Isolate* v8::internal::TracingCpuProfilerImpl::isolate_
private

Definition at line 48 of file tracing-cpu-profiler.h.

◆ mutex_

base::Mutex v8::internal::TracingCpuProfilerImpl::mutex_
private

Definition at line 51 of file tracing-cpu-profiler.h.

◆ profiler_

std::unique_ptr<CpuProfiler> v8::internal::TracingCpuProfilerImpl::profiler_
private

Definition at line 49 of file tracing-cpu-profiler.h.

◆ profiling_enabled_

bool v8::internal::TracingCpuProfilerImpl::profiling_enabled_
private

Definition at line 50 of file tracing-cpu-profiler.h.


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