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

#include <pipeline-statistics.h>

Inheritance diagram for v8::internal::compiler::PipelineStatisticsBase:
Collaboration diagram for v8::internal::compiler::PipelineStatisticsBase:

Classes

class  CommonStats
 

Protected Types

using Base = PipelineStatisticsBase
 

Protected Member Functions

 PipelineStatisticsBase (Zone *outer_zone, ZoneStats *zone_stats, std::shared_ptr< CompilationStatistics > compilation_stats, CodeKind code_kind)
 
 ~PipelineStatisticsBase ()
 
 PipelineStatisticsBase (const PipelineStatisticsBase &)=delete
 
PipelineStatisticsBaseoperator= (const PipelineStatisticsBase &)=delete
 
void BeginPhaseKind (const char *phase_kind_name)
 
void EndPhaseKind (CompilationStatistics::BasicStats *diff)
 
size_t OuterZoneSize ()
 
bool InPhaseKind ()
 
bool InPhase ()
 
void BeginPhase (const char *name)
 
void EndPhase (CompilationStatistics::BasicStats *diff)
 
CodeKind code_kind () const
 
const char * phase_kind_name () const
 
const char * phase_name () const
 
void set_function_name (std::string function_name)
 

Private Attributes

Zone *const outer_zone_
 
ZoneStats *const zone_stats_
 
const std::shared_ptr< CompilationStatisticscompilation_stats_
 
const CodeKind code_kind_
 
std::string function_name_
 
CommonStats total_stats_
 
const char * phase_kind_name_ = nullptr
 
CommonStats phase_kind_stats_
 
const char * phase_name_ = nullptr
 
CommonStats phase_stats_
 

Friends

class PhaseScope
 

Detailed Description

Definition at line 24 of file pipeline-statistics.h.

Member Typedef Documentation

◆ Base

Constructor & Destructor Documentation

◆ PipelineStatisticsBase() [1/2]

v8::internal::compiler::PipelineStatisticsBase::PipelineStatisticsBase ( Zone * outer_zone,
ZoneStats * zone_stats,
std::shared_ptr< CompilationStatistics > compilation_stats,
CodeKind code_kind )
protected

Definition at line 65 of file pipeline-statistics.cc.

Here is the call graph for this function:

◆ ~PipelineStatisticsBase()

v8::internal::compiler::PipelineStatisticsBase::~PipelineStatisticsBase ( )
protected

Definition at line 76 of file pipeline-statistics.cc.

Here is the call graph for this function:

◆ PipelineStatisticsBase() [2/2]

v8::internal::compiler::PipelineStatisticsBase::PipelineStatisticsBase ( const PipelineStatisticsBase & )
protecteddelete

Member Function Documentation

◆ BeginPhase()

void v8::internal::compiler::PipelineStatisticsBase::BeginPhase ( const char * name)
protected

Definition at line 95 of file pipeline-statistics.cc.

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

◆ BeginPhaseKind()

void v8::internal::compiler::PipelineStatisticsBase::BeginPhaseKind ( const char * phase_kind_name)
protected

Definition at line 82 of file pipeline-statistics.cc.

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

◆ code_kind()

CodeKind v8::internal::compiler::PipelineStatisticsBase::code_kind ( ) const
inlineprotected

Definition at line 69 of file pipeline-statistics.h.

Here is the caller graph for this function:

◆ EndPhase()

void v8::internal::compiler::PipelineStatisticsBase::EndPhase ( CompilationStatistics::BasicStats * diff)
protected

Definition at line 101 of file pipeline-statistics.cc.

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

◆ EndPhaseKind()

void v8::internal::compiler::PipelineStatisticsBase::EndPhaseKind ( CompilationStatistics::BasicStats * diff)
protected

Definition at line 88 of file pipeline-statistics.cc.

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

◆ InPhase()

bool v8::internal::compiler::PipelineStatisticsBase::InPhase ( )
inlineprotected

Definition at line 65 of file pipeline-statistics.h.

Here is the caller graph for this function:

◆ InPhaseKind()

bool v8::internal::compiler::PipelineStatisticsBase::InPhaseKind ( )
inlineprotected

Definition at line 62 of file pipeline-statistics.h.

Here is the caller graph for this function:

◆ operator=()

PipelineStatisticsBase & v8::internal::compiler::PipelineStatisticsBase::operator= ( const PipelineStatisticsBase & )
protecteddelete

◆ OuterZoneSize()

size_t v8::internal::compiler::PipelineStatisticsBase::OuterZoneSize ( )
inlineprotected

Definition at line 41 of file pipeline-statistics.h.

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

◆ phase_kind_name()

const char * v8::internal::compiler::PipelineStatisticsBase::phase_kind_name ( ) const
inlineprotected

Definition at line 70 of file pipeline-statistics.h.

Here is the caller graph for this function:

◆ phase_name()

const char * v8::internal::compiler::PipelineStatisticsBase::phase_name ( ) const
inlineprotected

Definition at line 71 of file pipeline-statistics.h.

Here is the caller graph for this function:

◆ set_function_name()

void v8::internal::compiler::PipelineStatisticsBase::set_function_name ( std::string function_name)
inlineprotected

Definition at line 73 of file pipeline-statistics.h.

Friends And Related Symbol Documentation

◆ PhaseScope

friend class PhaseScope
friend

Definition at line 64 of file pipeline-statistics.h.

Member Data Documentation

◆ code_kind_

const CodeKind v8::internal::compiler::PipelineStatisticsBase::code_kind_
private

Definition at line 81 of file pipeline-statistics.h.

◆ compilation_stats_

const std::shared_ptr<CompilationStatistics> v8::internal::compiler::PipelineStatisticsBase::compilation_stats_
private

Definition at line 80 of file pipeline-statistics.h.

◆ function_name_

std::string v8::internal::compiler::PipelineStatisticsBase::function_name_
private

Definition at line 82 of file pipeline-statistics.h.

◆ outer_zone_

Zone* const v8::internal::compiler::PipelineStatisticsBase::outer_zone_
private

Definition at line 78 of file pipeline-statistics.h.

◆ phase_kind_name_

const char* v8::internal::compiler::PipelineStatisticsBase::phase_kind_name_ = nullptr
private

Definition at line 88 of file pipeline-statistics.h.

◆ phase_kind_stats_

CommonStats v8::internal::compiler::PipelineStatisticsBase::phase_kind_stats_
private

Definition at line 89 of file pipeline-statistics.h.

◆ phase_name_

const char* v8::internal::compiler::PipelineStatisticsBase::phase_name_ = nullptr
private

Definition at line 92 of file pipeline-statistics.h.

◆ phase_stats_

CommonStats v8::internal::compiler::PipelineStatisticsBase::phase_stats_
private

Definition at line 93 of file pipeline-statistics.h.

◆ total_stats_

CommonStats v8::internal::compiler::PipelineStatisticsBase::total_stats_
private

Definition at line 85 of file pipeline-statistics.h.

◆ zone_stats_

ZoneStats* const v8::internal::compiler::PipelineStatisticsBase::zone_stats_
private

Definition at line 79 of file pipeline-statistics.h.


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