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
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 457 of file log.h.

Member Typedef Documentation

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

Definition at line 467 of file log.h.

Member Enumeration Documentation

enum State
Enumerator
HAS_NO_SAMPLERS 
HAS_SAMPLERS 
HAS_CPU_PROFILING_SAMPLERS 

Definition at line 459 of file log.h.

Member Function Documentation

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

Definition at line 1830 of file log.cc.

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

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

Definition at line 1823 of file log.cc.

References OS::CreateMutex().


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