|  | v8
    V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++. | 
#include <cpu-profiler.h>
| Public Member Functions | |
| SamplingEventsProcessor (Isolate *isolate, Symbolizer *symbolizer, ProfilerCodeObserver *code_observer, CpuProfilesCollection *profiles, base::TimeDelta period, bool use_precise_sampling) | |
| ~SamplingEventsProcessor () override | |
| void * | operator new (size_t size) | 
| void | operator delete (void *ptr) | 
| void | Run () override | 
| void | SetSamplingInterval (base::TimeDelta period) override | 
| TickSample * | StartTickSample () | 
| void | FinishTickSample () | 
| sampler::Sampler * | sampler () | 
| base::TimeDelta | period () const | 
|  Public Member Functions inherited from v8::internal::ProfilerEventsProcessor | |
| ~ProfilerEventsProcessor () override | |
| void | CodeEventHandler (const CodeEventsContainer &evt_rec) override | 
| void | StopSynchronously () | 
| bool | running () | 
| void | Enqueue (const CodeEventsContainer &event) | 
| void | AddCurrentStack (bool update_stats=false, const std::optional< uint64_t > trace_id=std::nullopt) | 
| void | AddDeoptStack (Address from, int fp_to_sp_delta) | 
| void | AddSample (TickSample sample) | 
|  Public Member Functions inherited from v8::base::Thread | |
| Thread (const Options &options) | |
| Thread (const Thread &)=delete | |
| Thread & | operator= (const Thread &)=delete | 
| virtual | ~Thread () | 
| V8_WARN_UNUSED_RESULT bool | Start () | 
| bool | StartSynchronously () | 
| void | Join () | 
| const char * | name () const | 
| PlatformData * | data () | 
| Priority | priority () const | 
| void | NotifyStartedAndRun () | 
|  Public Member Functions inherited from v8::internal::CodeEventObserver | |
| virtual | ~CodeEventObserver ()=default | 
| Private Member Functions | |
| SampleProcessingResult | ProcessOneSample () override | 
| void | SymbolizeAndAddToProfiles (const TickSampleEventRecord *record) | 
| Private Attributes | |
| SamplingCircularQueue< TickSampleEventRecord, kTickSampleQueueLength > | ticks_buffer_ | 
| std::unique_ptr< sampler::Sampler > | sampler_ | 
| base::TimeDelta | period_ | 
| const bool | use_precise_sampling_ | 
| Static Private Attributes | |
| static const size_t | kTickSampleBufferSize = 512 * KB | 
| static const size_t | kTickSampleQueueLength | 
Definition at line 219 of file cpu-profiler.h.
| v8::internal::SamplingEventsProcessor::SamplingEventsProcessor | ( | Isolate * | isolate, | 
| Symbolizer * | symbolizer, | ||
| ProfilerCodeObserver * | code_observer, | ||
| CpuProfilesCollection * | profiles, | ||
| base::TimeDelta | period, | ||
| bool | use_precise_sampling ) | 
| 
 | override | 
Definition at line 140 of file cpu-profiler.cc.
| 
 | inline | 
| void v8::internal::SamplingEventsProcessor::operator delete | ( | void * | ptr | ) | 
| void * v8::internal::SamplingEventsProcessor::operator new | ( | size_t | size | ) | 
| 
 | inline | 
| 
 | overrideprivatevirtual | 
Implements v8::internal::ProfilerEventsProcessor.
Definition at line 255 of file cpu-profiler.cc.
| 
 | overridevirtual | 
Implements v8::internal::ProfilerEventsProcessor.
Definition at line 278 of file cpu-profiler.cc.
| 
 | inline | 
Definition at line 246 of file cpu-profiler.h.
| 
 | overridevirtual | 
Reimplemented from v8::internal::ProfilerEventsProcessor.
Definition at line 343 of file cpu-profiler.cc.
| 
 | inline | 
| 
 | private | 
Definition at line 240 of file cpu-profiler.cc.
| 
 | staticprivate | 
Definition at line 253 of file cpu-profiler.h.
| 
 | staticprivate | 
Definition at line 254 of file cpu-profiler.h.
| 
 | private | 
Definition at line 259 of file cpu-profiler.h.
| 
 | private | 
Definition at line 258 of file cpu-profiler.h.
| 
 | private | 
Definition at line 257 of file cpu-profiler.h.
| 
 | private | 
Definition at line 260 of file cpu-profiler.h.