V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::SamplingEventsProcessor Class Reference
Inheritance diagram for v8::internal::SamplingEventsProcessor:
v8::internal::ProfilerEventsProcessor v8::base::Thread v8::internal::CodeEventObserver

Public Member Functions

 SamplingEventsProcessor (Isolate *isolate, ProfileGenerator *generator, base::TimeDelta period)
 
void * operator new (size_t size)
 
void operator delete (void *ptr)
 
void Run () override
 
TickSampleStartTickSample ()
 
void FinishTickSample ()
 
sampler::Samplersampler ()
 
- Public Member Functions inherited from v8::internal::ProfilerEventsProcessor
void CodeEventHandler (const CodeEventsContainer &evt_rec) override
 
void StopSynchronously ()
 
V8_INLINE bool running ()
 
void Enqueue (const CodeEventsContainer &event)
 
void AddCurrentStack (bool update_stats=false)
 
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)
 
void Start ()
 
void StartSynchronously ()
 
void Join ()
 
const charname () const
 
PlatformDatadata ()
 
void NotifyStartedAndRun ()
 

Additional Inherited Members

- Public Types inherited from v8::base::Thread
typedef int32_t LocalStorageKey
 
- Static Public Member Functions inherited from v8::base::Thread
static LocalStorageKey CreateThreadLocalKey ()
 
static void DeleteThreadLocalKey (LocalStorageKey key)
 
static void * GetThreadLocal (LocalStorageKey key)
 
static int GetThreadLocalInt (LocalStorageKey key)
 
static void SetThreadLocal (LocalStorageKey key, void *value)
 
static void SetThreadLocalInt (LocalStorageKey key, int value)
 
static bool HasThreadLocal (LocalStorageKey key)
 
static void * GetExistingThreadLocal (LocalStorageKey key)
 
- Static Public Attributes inherited from v8::base::Thread
static const int kMaxThreadNameLength = 16
 
- Protected Types inherited from v8::internal::ProfilerEventsProcessor
enum  SampleProcessingResult { OneSampleProcessed, FoundSampleForNextCodeEvent, NoSamplesInQueue }
 
- Protected Member Functions inherited from v8::internal::ProfilerEventsProcessor
 ProfilerEventsProcessor (Isolate *isolate, ProfileGenerator *generator)
 
bool ProcessCodeEvent ()
 
- Protected Attributes inherited from v8::internal::ProfilerEventsProcessor
ProfileGeneratorgenerator_
 
base::Atomic32 running_
 
LockedQueue< CodeEventsContainerevents_buffer_
 
LockedQueue< TickSampleEventRecordticks_from_vm_buffer_
 
std::atomic< unsignedlast_code_event_id_
 
unsigned last_processed_code_event_id_
 
Isolateisolate_
 

Detailed Description

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


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