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
Profiler Class Reference
Inheritance diagram for Profiler:
Collaboration diagram for Profiler:

Public Member Functions

 Profiler (Isolate *isolate)
 
void Engage ()
 
void Disengage ()
 
void Insert (TickSample *sample)
 
virtual void Run ()
 
void pause ()
 
void resume ()
 
- 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 768 of file log.cc.

Constructor & Destructor Documentation

Profiler ( Isolate isolate)
explicit

Definition at line 867 of file log.cc.

Member Function Documentation

void Disengage ( )
void Engage ( )
void Insert ( TickSample sample)
inline

Definition at line 775 of file log.cc.

References v8::internal::sample.

Referenced by Profiler::Disengage(), and Ticker::Tick().

void pause ( )
inline

Definition at line 791 of file log.cc.

Referenced by Logger::StopProfiler().

void resume ( )
inline

Definition at line 792 of file log.cc.

Referenced by Profiler::Disengage().

void Run ( )
virtual

Implements Thread.

Definition at line 918 of file log.cc.

References LOG, v8::internal::overflow, and v8::internal::sample.


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