v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ProfilerCodeObserver Class Reference

#include <cpu-profiler.h>

Inheritance diagram for v8::internal::ProfilerCodeObserver:
Collaboration diagram for v8::internal::ProfilerCodeObserver:

Public Member Functions

 ProfilerCodeObserver (Isolate *, CodeEntryStorage &)
 
void CodeEventHandler (const CodeEventsContainer &evt_rec) override
 
CodeEntryStoragecode_entries ()
 
InstructionStreamMapinstruction_stream_map ()
 
WeakCodeRegistryweak_code_registry ()
 
size_t GetEstimatedMemoryUsage () const
 
void ClearCodeMap ()
 
- Public Member Functions inherited from v8::internal::CodeEventObserver
virtual ~CodeEventObserver ()=default
 

Private Member Functions

void CodeEventHandlerInternal (const CodeEventsContainer &evt_rec)
 
void CreateEntriesForRuntimeCallStats ()
 
void LogBuiltins ()
 
ProfilerEventsProcessorprocessor ()
 
void set_processor (ProfilerEventsProcessor *processor)
 
void clear_processor ()
 

Private Attributes

Isolate *const isolate_
 
CodeEntryStoragecode_entries_
 
InstructionStreamMap code_map_
 
WeakCodeRegistry weak_code_registry_
 
ProfilerEventsProcessorprocessor_
 

Friends

class ProfilerEventsProcessor
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ProfilerCodeObserver()

v8::internal::ProfilerCodeObserver::ProfilerCodeObserver ( Isolate * isolate,
CodeEntryStorage & storage )
explicit

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

Here is the call graph for this function:

Member Function Documentation

◆ clear_processor()

void v8::internal::ProfilerCodeObserver::clear_processor ( )
inlineprivate

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

Here is the caller graph for this function:

◆ ClearCodeMap()

void v8::internal::ProfilerCodeObserver::ClearCodeMap ( )

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

Here is the call graph for this function:

◆ code_entries()

CodeEntryStorage * v8::internal::ProfilerCodeObserver::code_entries ( )
inline

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

◆ CodeEventHandler()

void v8::internal::ProfilerCodeObserver::CodeEventHandler ( const CodeEventsContainer & evt_rec)
overridevirtual

Implements v8::internal::CodeEventObserver.

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

Here is the call graph for this function:

◆ CodeEventHandlerInternal()

void v8::internal::ProfilerCodeObserver::CodeEventHandlerInternal ( const CodeEventsContainer & evt_rec)
private

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

Here is the caller graph for this function:

◆ CreateEntriesForRuntimeCallStats()

void v8::internal::ProfilerCodeObserver::CreateEntriesForRuntimeCallStats ( )
private

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetEstimatedMemoryUsage()

size_t v8::internal::ProfilerCodeObserver::GetEstimatedMemoryUsage ( ) const

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

Here is the call graph for this function:

◆ instruction_stream_map()

InstructionStreamMap * v8::internal::ProfilerCodeObserver::instruction_stream_map ( )
inline

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

◆ LogBuiltins()

void v8::internal::ProfilerCodeObserver::LogBuiltins ( )
private

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ processor()

ProfilerEventsProcessor * v8::internal::ProfilerCodeObserver::processor ( )
inlineprivate

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

Here is the caller graph for this function:

◆ set_processor()

void v8::internal::ProfilerCodeObserver::set_processor ( ProfilerEventsProcessor * processor)
inlineprivate

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

Here is the caller graph for this function:

◆ weak_code_registry()

WeakCodeRegistry * v8::internal::ProfilerCodeObserver::weak_code_registry ( )
inline

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

Friends And Related Symbol Documentation

◆ ProfilerEventsProcessor

friend class ProfilerEventsProcessor
friend

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

Member Data Documentation

◆ code_entries_

CodeEntryStorage& v8::internal::ProfilerCodeObserver::code_entries_
private

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

◆ code_map_

InstructionStreamMap v8::internal::ProfilerCodeObserver::code_map_
private

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

◆ isolate_

Isolate* const v8::internal::ProfilerCodeObserver::isolate_
private

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

◆ processor_

ProfilerEventsProcessor* v8::internal::ProfilerCodeObserver::processor_
private

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

◆ weak_code_registry_

WeakCodeRegistry v8::internal::ProfilerCodeObserver::weak_code_registry_
private

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


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