v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cpu-profiler.h File Reference
#include "allocation.h"
#include "atomicops.h"
#include "circular-queue.h"
#include "unbound-queue.h"
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.

Data Structures

class  CodeEventRecord
 
class  CodeCreateEventRecord
 
class  CodeMoveEventRecord
 
class  SharedFunctionInfoMoveEventRecord
 
class  TickSampleEventRecord
 
class  ProfilerEventsProcessor
 
class  CpuProfiler
 

Namespaces

 v8
 
 v8::internal
 

Macros

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

Macro Definition Documentation

#define CODE_EVENTS_TYPE_LIST (   V)
Value:
V(CODE_CREATION, CodeCreateEventRecord) \
V(CODE_MOVE, CodeMoveEventRecord) \
V(SHARED_FUNC_MOVE, SharedFunctionInfoMoveEventRecord)

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

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

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

#define DECLARE_TYPE (   type,
  ignore 
)    type,

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

#define PROFILE (   isolate,
  Call 
)
Value:
LOG_CODE_EVENT(isolate, Call); \
do { \
if (v8::internal::CpuProfiler::is_profiling(isolate)) { \
v8::internal::CpuProfiler::Call; \
} \
} while (false)
#define LOG_CODE_EVENT(isolate, Call)
Definition: log.h:89

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

Referenced by StubCache::ComputeCallConstant(), StubCache::ComputeCallField(), StubCache::ComputeCallGlobal(), StubCache::ComputeCallInterceptor(), StubCache::ComputeKeyedLoadArrayLength(), StubCache::ComputeKeyedLoadCallback(), StubCache::ComputeKeyedLoadConstant(), StubCache::ComputeKeyedLoadField(), StubCache::ComputeKeyedLoadFunctionPrototype(), StubCache::ComputeKeyedLoadInterceptor(), StubCache::ComputeKeyedLoadOrStoreElement(), StubCache::ComputeKeyedLoadStringLength(), StubCache::ComputeKeyedStoreField(), StubCache::ComputeLoadCallback(), StubCache::ComputeLoadConstant(), StubCache::ComputeLoadField(), StubCache::ComputeLoadGlobal(), StubCache::ComputeLoadInterceptor(), StubCache::ComputeLoadNonexistent(), StubCache::ComputeLoadViaGetter(), KeyedLoadIC::ComputePolymorphicStub(), KeyedStoreIC::ComputePolymorphicStub(), StubCache::ComputeStoreCallback(), StubCache::ComputeStoreField(), StubCache::ComputeStoreGlobal(), StubCache::ComputeStoreInterceptor(), StubCache::ComputeStoreViaSetter(), Logger::LogAccessorCallbacks(), Logger::LogExistingFunction(), MarkCompactCollector::MigrateObject(), Compiler::RecordFunctionCompilation(), MarkCompactCollector::ReportDeleteIfNeeded(), and Builtins::SetUp().