v8  6.8.275(node10.15.3)
V8 is Google's open source JavaScript engine
TracingCpuProfiler Class Reference

#include <v8-profiler.h>

Public Member Functions

 V8_DEPRECATE_SOON ("The profiler is created automatically with the isolate.\n" "No need to create it explicitly.", static std::unique_ptr< TracingCpuProfiler > Create(Isolate *))
 
virtual ~TracingCpuProfiler ()=default
 

Protected Member Functions

 TracingCpuProfiler ()=default
 

Detailed Description

TracingCpuProfiler monitors tracing being enabled/disabled and emits CpuProfile trace events once v8.cpu_profiler tracing category is enabled. It has no overhead unless the category is enabled.

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

Constructor & Destructor Documentation

◆ ~TracingCpuProfiler()

virtual ~TracingCpuProfiler ( )
virtualdefault

◆ TracingCpuProfiler()

TracingCpuProfiler ( )
protecteddefault

Member Function Documentation

◆ V8_DEPRECATE_SOON()

V8_DEPRECATE_SOON ( "The profiler is created automatically with the isolate.\n" "No need to create it explicitly."  ,
static std::unique_ptr< TracingCpuProfiler >   CreateIsolate * 
)

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