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

#include <log.h>

Inheritance diagram for SamplerRegistry:
Collaboration diagram for SamplerRegistry:

Public Types

enum  State { HAS_NO_SAMPLERS, HAS_SAMPLERS, HAS_CPU_PROFILING_SAMPLERS }
 
typedef void(* VisitSampler )(Sampler *, void *)
 

Static Public Member Functions

static void SetUp ()
 
static State GetState ()
 
static bool IterateActiveSamplers (VisitSampler func, void *param)
 
static void AddActiveSampler (Sampler *sampler)
 
static void RemoveActiveSampler (Sampler *sampler)
 

Detailed Description

Definition at line 432 of file log.h.

Member Typedef Documentation

typedef void(* VisitSampler)(Sampler *, void *)

Definition at line 442 of file log.h.

Member Enumeration Documentation

enum State
Enumerator
HAS_NO_SAMPLERS 
HAS_SAMPLERS 
HAS_CPU_PROFILING_SAMPLERS 

Definition at line 434 of file log.h.

Member Function Documentation

void AddActiveSampler ( Sampler sampler)
static
bool IterateActiveSamplers ( VisitSampler  func,
void *  param 
)
static

Definition at line 1745 of file log.cc.

Referenced by SamplerThread::Run(), and SignalSender::Run().

void RemoveActiveSampler ( Sampler sampler)
static
void SetUp ( )
static

Definition at line 1738 of file log.cc.

References OS::CreateMutex().


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