#include "src/compiler/pipeline-statistics.h"
#include <memory>
#include "src/codegen/optimized-compilation-info.h"
#include "src/compiler/turboshaft/phase.h"
#include "src/compiler/zone-stats.h"
#include "src/objects/shared-function-info.h"
namespace v8 {
namespace internal {
namespace compiler {
void PipelineStatisticsBase::CommonStats::Begin(
PipelineStatisticsBase* pipeline_stats) { … }
void PipelineStatisticsBase::CommonStats::End(
PipelineStatisticsBase* pipeline_stats,
CompilationStatistics::BasicStats* diff) { … }
PipelineStatisticsBase::PipelineStatisticsBase(
Zone* outer_zone, ZoneStats* zone_stats,
std::shared_ptr<CompilationStatistics> compilation_stats,
CodeKind code_kind)
: … { … }
PipelineStatisticsBase::~PipelineStatisticsBase() { … }
void PipelineStatisticsBase::BeginPhaseKind(const char* phase_kind_name) { … }
void PipelineStatisticsBase::EndPhaseKind(
CompilationStatistics::BasicStats* diff) { … }
void PipelineStatisticsBase::BeginPhase(const char* phase_name) { … }
void PipelineStatisticsBase::EndPhase(CompilationStatistics::BasicStats* diff) { … }
constexpr char TurbofanPipelineStatistics::kTraceCategory[];
TurbofanPipelineStatistics::TurbofanPipelineStatistics(
OptimizedCompilationInfo* info,
std::shared_ptr<CompilationStatistics> compilation_stats,
ZoneStats* zone_stats)
: … { … }
TurbofanPipelineStatistics::~TurbofanPipelineStatistics() { … }
void TurbofanPipelineStatistics::BeginPhaseKind(const char* name) { … }
void TurbofanPipelineStatistics::EndPhaseKind() { … }
void TurbofanPipelineStatistics::BeginPhase(const char* name) { … }
void TurbofanPipelineStatistics::EndPhase() { … }
}
}
}