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

#include <gc-tracer.h>

Collaboration diagram for v8::internal::GCTracer::RecordGCPhasesInfo:

Public Types

enum class  Mode { None , Scavenger , Finalize }
 

Public Member Functions

 RecordGCPhasesInfo (Heap *heap, GarbageCollector collector, GarbageCollectionReason reason)
 
Mode mode () const
 
const char * trace_event_name () const
 
TimedHistogramtype_timer () const
 
TimedHistogramtype_priority_timer () const
 

Private Attributes

Mode mode_
 
const char * trace_event_name_
 
TimedHistogramtype_timer_
 
TimedHistogramtype_priority_timer_
 

Detailed Description

Definition at line 255 of file gc-tracer.h.

Member Enumeration Documentation

◆ Mode

Enumerator
None 
Scavenger 
Finalize 

Definition at line 260 of file gc-tracer.h.

Constructor & Destructor Documentation

◆ RecordGCPhasesInfo()

v8::internal::GCTracer::RecordGCPhasesInfo::RecordGCPhasesInfo ( Heap * heap,
GarbageCollector collector,
GarbageCollectionReason reason )

Definition at line 96 of file gc-tracer.cc.

Member Function Documentation

◆ mode()

Mode v8::internal::GCTracer::RecordGCPhasesInfo::mode ( ) const
inline

Definition at line 262 of file gc-tracer.h.

Here is the caller graph for this function:

◆ trace_event_name()

const char * v8::internal::GCTracer::RecordGCPhasesInfo::trace_event_name ( ) const
inline

Definition at line 263 of file gc-tracer.h.

Here is the caller graph for this function:

◆ type_priority_timer()

TimedHistogram * v8::internal::GCTracer::RecordGCPhasesInfo::type_priority_timer ( ) const
inline

Definition at line 267 of file gc-tracer.h.

Here is the caller graph for this function:

◆ type_timer()

TimedHistogram * v8::internal::GCTracer::RecordGCPhasesInfo::type_timer ( ) const
inline

Definition at line 266 of file gc-tracer.h.

Here is the caller graph for this function:

Member Data Documentation

◆ mode_

Mode v8::internal::GCTracer::RecordGCPhasesInfo::mode_
private

Definition at line 270 of file gc-tracer.h.

◆ trace_event_name_

const char* v8::internal::GCTracer::RecordGCPhasesInfo::trace_event_name_
private

Definition at line 271 of file gc-tracer.h.

◆ type_priority_timer_

TimedHistogram* v8::internal::GCTracer::RecordGCPhasesInfo::type_priority_timer_
private

Definition at line 273 of file gc-tracer.h.

◆ type_timer_

TimedHistogram* v8::internal::GCTracer::RecordGCPhasesInfo::type_timer_
private

Definition at line 272 of file gc-tracer.h.


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