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

Public Member Functions

void CodeEventHandler (const CodeEventsContainer &evt_rec) override
 
void Run () override=0
 
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 ()
 

Protected Types

enum  SampleProcessingResult { OneSampleProcessed, FoundSampleForNextCodeEvent, NoSamplesInQueue }
 

Protected Member Functions

 ProfilerEventsProcessor (Isolate *isolate, ProfileGenerator *generator)
 
bool ProcessCodeEvent ()
 
virtual SampleProcessingResult ProcessOneSample ()=0
 

Protected Attributes

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_
 

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
 

Detailed Description

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


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