V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::sampler::Sampler Class Referenceabstract
Inheritance diagram for v8::sampler::Sampler:
v8::internal::CpuSampler v8::internal::Ticker

Public Member Functions

 Sampler (Isolate *isolate)
 
Isolate * isolate () const
 
virtual void SampleStack (const v8::RegisterState &regs)=0
 
void Start ()
 
void Stop ()
 
bool IsProfiling () const
 
void IncreaseProfilingDepth ()
 
void DecreaseProfilingDepth ()
 
bool IsActive () const
 
bool IsRegistered () const
 
void UnregisterIfRegistered ()
 
void DoSample ()
 
void SetHasProcessingThread (bool value)
 
unsigned js_sample_count () const
 
unsigned external_sample_count () const
 
void StartCountingSamples ()
 
PlatformData * platform_data () const
 

Static Public Member Functions

static void SetUp ()
 
static void TearDown ()
 

Static Public Attributes

static const int kMaxFramesCountLog2 = 8
 
static const unsigned kMaxFramesCount = (1u << kMaxFramesCountLog2) - 1
 

Protected Attributes

bool is_counting_samples_
 
unsigned js_sample_count_
 
unsigned external_sample_count_
 

Detailed Description

Definition at line 23 of file sampler.h.


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