v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
log.cc File Reference
#include <stdarg.h>
#include "v8.h"
#include "bootstrapper.h"
#include "code-stubs.h"
#include "cpu-profiler.h"
#include "deoptimizer.h"
#include "global-handles.h"
#include "log.h"
#include "log-utils.h"
#include "macro-assembler.h"
#include "platform.h"
#include "runtime-profiler.h"
#include "serialize.h"
#include "string-stream.h"
#include "vm-state-inl.h"
Include dependency graph for log.cc:

Go to the source code of this file.

Data Structures

class  CodeEventLogger::NameBuffer
 
class  PerfBasicLogger
 
class  PerfJitLogger
 
class  LowLevelLogger
 
class  JitLogger
 
class  Profiler
 
class  Ticker
 
class  EnumerateOptimizedFunctionsVisitor
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define DECLARE_EVENT(ignore1, name)   name,
 
#define CALL_LISTENERS(Call)
 
#define PROFILER_LOG(Call)
 
#define LL_LOG(Call)   if (ll_logger_) ll_logger_->Call;
 
#define JIT_LOG(Call)   if (jit_logger_) jit_logger_->Call;
 

Macro Definition Documentation

#define CALL_LISTENERS (   Call)
Value:
for (int i = 0; i < listeners_.length(); ++i) { \
listeners_[i]->Call; \
}

Definition at line 57 of file log.cc.

Referenced by Logger::CodeCreateEvent(), Logger::CodeDeleteEvent(), Logger::CodeMoveEvent(), Logger::CodeMovingGCEvent(), and Logger::RegExpCodeCreateEvent().

#define DECLARE_EVENT (   ignore1,
  name 
)    name,

Definition at line 50 of file log.cc.

#define JIT_LOG (   Call)    if (jit_logger_) jit_logger_->Call;
#define LL_LOG (   Call)    if (ll_logger_) ll_logger_->Call;

Definition at line 475 of file log.cc.

Referenced by Logger::SnapshotPositionEvent().

#define PROFILER_LOG (   Call)
Value:
do { \
CpuProfiler* cpu_profiler = isolate_->cpu_profiler(); \
if (cpu_profiler->is_profiling()) { \
cpu_profiler->Call; \
} \
} while (false);

Definition at line 62 of file log.cc.

Referenced by Logger::CallbackEvent(), Logger::CodeCreateEvent(), Logger::CodeDeleteEvent(), Logger::CodeMoveEvent(), Logger::CodeMovingGCEvent(), Logger::GetterCallbackEvent(), Logger::RegExpCodeCreateEvent(), Logger::SetterCallbackEvent(), and Logger::SharedFunctionInfoMoveEvent().