Go to the source code of this file.
◆ 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 at line 26 of file cpu-profiler.h.
◆ DECLARE_CLASS
#define DECLARE_CLASS |
( |
|
ignore, |
|
|
|
type |
|
) |
| type type##_; |
◆ DECLARE_TYPE
#define DECLARE_TYPE |
( |
|
type, |
|
|
|
ignore |
|
) |
| type, |
◆ 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.