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

Public Member Functions

 Ticker (Isolate *isolate, int interval)
 
 ~Ticker ()
 
virtual void Tick (TickSample *sample)
 
void SetProfiler (Profiler *profiler)
 
void ClearProfiler ()
 
- Public Member Functions inherited from Sampler
 Sampler (Isolate *isolate, int interval)
 
virtual ~Sampler ()
 
Isolateisolate () const
 
int interval () const
 
void SampleStack (const RegisterState &regs)
 
void Start ()
 
void Stop ()
 
bool IsProfiling () const
 
void IncreaseProfilingDepth ()
 
void DecreaseProfilingDepth ()
 
bool IsActive () const
 
void DoSample ()
 
void SetHasProcessingThread (bool value)
 
unsigned js_and_external_sample_count () const
 
void StartCountingSamples ()
 
PlatformData * platform_data () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Sampler
static void SetUp ()
 
static void TearDown ()
 

Detailed Description

Definition at line 834 of file log.cc.

Constructor & Destructor Documentation

Ticker ( Isolate isolate,
int  interval 
)
inline

Definition at line 836 of file log.cc.

~Ticker ( )
inline

Definition at line 840 of file log.cc.

References Sampler::IsActive(), and Sampler::Stop().

Member Function Documentation

void ClearProfiler ( )
inline
void SetProfiler ( Profiler profiler)
inline
virtual void Tick ( TickSample sample)
inlinevirtual

Implements Sampler.

Definition at line 842 of file log.cc.

References Profiler::Insert().


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