V8 Project
cpu-profiler.h File Reference
+ Include dependency graph for cpu-profiler.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::CodeEventRecord
 
class  v8::internal::CodeCreateEventRecord
 
class  v8::internal::CodeMoveEventRecord
 
class  v8::internal::CodeDisableOptEventRecord
 
class  v8::internal::SharedFunctionInfoMoveEventRecord
 
class  v8::internal::ReportBuiltinEventRecord
 
class  v8::internal::TickSampleEventRecord
 
class  v8::internal::CodeEventsContainer
 
class  v8::internal::ProfilerEventsProcessor
 
class  v8::internal::CpuProfiler
 

Namespaces

 v8
 Debugger support for the V8 JavaScript engine.
 
 v8::internal
 

Macros

#define CODE_EVENTS_TYPE_LIST(V)
 
#define DECLARE_TYPE(type, ignore)   type,
 
#define DECLARE_CLASS(ignore, type)   type type##_;
 
#define PROFILE(IsolateGetter, Call)
 

Macro Definition Documentation

◆ CODE_EVENTS_TYPE_LIST

#define CODE_EVENTS_TYPE_LIST (   V)
Value:
V(CODE_CREATION, CodeCreateEventRecord) \
V(CODE_MOVE, CodeMoveEventRecord) \
V(CODE_DISABLE_OPT, CodeDisableOptEventRecord) \
V(SHARED_FUNC_MOVE, SharedFunctionInfoMoveEventRecord) \
V(REPORT_BUILTIN, ReportBuiltinEventRecord)
#define V(NAME, Name, id)
Definition: execution.h:170

Definition at line 26 of file cpu-profiler.h.

◆ DECLARE_CLASS

#define DECLARE_CLASS (   ignore,
  type 
)    type type##_;

Definition at line 116 of file cpu-profiler.h.

◆ DECLARE_TYPE

#define DECLARE_TYPE (   type,
  ignore 
)    type,

Definition at line 36 of file cpu-profiler.h.

◆ PROFILE

#define PROFILE (   IsolateGetter,
  Call 
)
Value:
do { \
Isolate* cpu_profiler_isolate = (IsolateGetter); \
v8::internal::Logger* logger = cpu_profiler_isolate->logger(); \
CpuProfiler* cpu_profiler = cpu_profiler_isolate->cpu_profiler(); \
if (logger->is_logging_code_events() || cpu_profiler->is_profiling()) { \
logger->Call; \
} \
} while (false)

Definition at line 181 of file cpu-profiler.h.