v8  3.11.10(node0.8.26)
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)
 
virtual ~ProfilerEventsProcessor ()
 
virtual void Run ()
 
void Stop ()
 
 INLINE (bool running())
 
void CallbackCreateEvent (Logger::LogEventsAndTags tag, const char *prefix, String *name, Address start)
 
void CodeCreateEvent (Logger::LogEventsAndTags tag, String *name, String *resource_name, int line_number, Address start, unsigned size, Address shared)
 
void CodeCreateEvent (Logger::LogEventsAndTags tag, const char *name, Address start, unsigned size)
 
void CodeCreateEvent (Logger::LogEventsAndTags tag, int args_count, Address start, unsigned size)
 
void CodeMoveEvent (Address from, Address to)
 
void CodeDeleteEvent (Address from)
 
void SharedFunctionInfoMoveEvent (Address from, Address to)
 
void RegExpCodeCreateEvent (Logger::LogEventsAndTags tag, const char *prefix, String *name, Address start, unsigned size)
 
void AddCurrentStack ()
 
 INLINE (TickSample *TickSampleEvent())
 
- Public Member Functions inherited from Thread
 Thread (const Options &options)
 
virtual ~Thread ()
 
void Start ()
 
void Join ()
 
const char * name () const
 
PlatformDatadata ()
 

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 125 of file cpu-profiler.h.

Constructor & Destructor Documentation

ProfilerEventsProcessor ( ProfileGenerator generator)
explicit

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

virtual ~ProfilerEventsProcessor ( )
inlinevirtual

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

Member Function Documentation

void CodeCreateEvent ( Logger::LogEventsAndTags  tag,
String name,
String resource_name,
int  line_number,
Address  start,
unsigned  size,
Address  shared 
)
void CodeDeleteEvent ( Address  from)
void CodeMoveEvent ( Address  from,
Address  to 
)
INLINE ( bool   running())
inline

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

INLINE ( TickSample TickSampleEvent())
void RegExpCodeCreateEvent ( Logger::LogEventsAndTags  tag,
const char *  prefix,
String name,
Address  start,
unsigned  size 
)
void Run ( )
virtual

Implements Thread.

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

References SamplingCircularQueue::FlushResidualRecords(), and Thread::YieldCPU().

void Stop ( )
inline

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


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