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

Public Member Functions

 CpuSampler (Isolate *isolate, SamplingEventsProcessor *processor)
 
void SampleStack (const v8::RegisterState &regs) override
 
- Public Member Functions inherited from v8::sampler::Sampler
 Sampler (Isolate *isolate)
 
Isolate * isolate () const
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::sampler::Sampler
static void SetUp ()
 
static void TearDown ()
 
- Static Public Attributes inherited from v8::sampler::Sampler
static const int kMaxFramesCountLog2 = 8
 
static const unsigned kMaxFramesCount = (1u << kMaxFramesCountLog2) - 1
 
- Protected Attributes inherited from v8::sampler::Sampler
bool is_counting_samples_
 
unsigned js_sample_count_
 
unsigned external_sample_count_
 

Detailed Description

Definition at line 26 of file cpu-profiler.cc.


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