V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::CpuProfiler Class Reference

Public Types

typedef v8::CpuProfilingMode ProfilingMode
 

Public Member Functions

 CpuProfiler (Isolate *isolate)
 
 CpuProfiler (Isolate *isolate, CpuProfilesCollection *profiles, ProfileGenerator *test_generator, ProfilerEventsProcessor *test_processor)
 
void set_sampling_interval (base::TimeDelta value)
 
void CollectSample ()
 
void StartProfiling (const char *title, bool record_samples=false, ProfilingMode mode=ProfilingMode::kLeafNodeLineNumbers)
 
void StartProfiling (String title, bool record_samples, ProfilingMode mode)
 
CpuProfile * StopProfiling (const char *title)
 
CpuProfile * StopProfiling (String title)
 
int GetProfilesCount ()
 
CpuProfile * GetProfile (int index)
 
void DeleteAllProfiles ()
 
void DeleteProfile (CpuProfile *profile)
 
bool is_profiling () const
 
ProfileGenerator * generator () const
 
ProfilerEventsProcessor * processor () const
 
Isolate * isolate () const
 
ProfilerListener * profiler_listener_for_test ()
 

Static Public Member Functions

static void CollectSample (Isolate *isolate)
 

Detailed Description

Definition at line 209 of file cpu-profiler.h.


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