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
ProfilerEventsProcessor Class Reference

#include <cpu-profiler.h>

Inheritance diagram for ProfilerEventsProcessor:
Collaboration diagram for ProfilerEventsProcessor:

Public Member Functions

 ProfilerEventsProcessor (ProfileGenerator *generator, Sampler *sampler, TimeDelta period)
 
virtual ~ProfilerEventsProcessor ()
 
virtual void Run ()
 
void StopSynchronously ()
 
 INLINE (bool running())
 
void Enqueue (const CodeEventsContainer &event)
 
void AddCurrentStack (Isolate *isolate)
 
TickSampleStartTickSample ()
 
void FinishTickSample ()
 
void * operator new (size_t size)
 
void operator delete (void *ptr)
 
- Public Member Functions inherited from Thread
 Thread (const Options &options)
 
virtual ~Thread ()
 
void Start ()
 
void StartSynchronously ()
 
void Join ()
 
const char * name () const
 
PlatformDatadata ()
 
void NotifyStartedAndRun ()
 

Additional Inherited Members

- Public Types inherited from Thread
enum  LocalStorageKey { LOCAL_STORAGE_KEY_MIN_VALUE = kMinInt, LOCAL_STORAGE_KEY_MAX_VALUE = kMaxInt }
 
- Static Public Member Functions inherited from Thread
static LocalStorageKey CreateThreadLocalKey ()
 
static void DeleteThreadLocalKey (LocalStorageKey key)
 
static void * GetThreadLocal (LocalStorageKey key)
 
static int GetThreadLocalInt (LocalStorageKey key)
 
static void SetThreadLocal (LocalStorageKey key, void *value)
 
static void SetThreadLocalInt (LocalStorageKey key, int value)
 
static bool HasThreadLocal (LocalStorageKey key)
 
static void * GetExistingThreadLocal (LocalStorageKey key)
 
static void YieldCPU ()
 
- Static Public Attributes inherited from Thread
static const int kMaxThreadNameLength = 16
 

Detailed Description

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

Constructor & Destructor Documentation

ProfilerEventsProcessor ( ProfileGenerator generator,
Sampler sampler,
TimeDelta  period 
)

Definition at line 46 of file cpu-profiler.cc.

virtual ~ProfilerEventsProcessor ( )
inlinevirtual

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

Member Function Documentation

void FinishTickSample ( )
inline

Definition at line 90 of file cpu-profiler-inl.h.

Referenced by CpuProfiler::FinishTickSample().

INLINE ( bool   running())
inline

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

void operator delete ( void *  ptr)

Definition at line 164 of file cpu-profiler.cc.

References v8::internal::AlignedFree().

void * operator new ( size_t  size)

Definition at line 159 of file cpu-profiler.cc.

References v8::internal::AlignedAlloc(), v8::internal::size, and V8_ALIGNOF.

void Run ( )
virtual

Implements Thread.

Definition at line 132 of file cpu-profiler.cc.

References Sampler::DoSample().

TickSample * StartTickSample ( )
inline

Definition at line 81 of file cpu-profiler-inl.h.

References v8::internal::NULL, and TickSampleEventRecord::sample.

Referenced by CpuProfiler::StartTickSample().

void StopSynchronously ( )

Definition at line 80 of file cpu-profiler.cc.

References Thread::Join().


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