#include "src/diagnostics/compilation-statistics.h"
#include <iomanip>
#include <ostream>
#include <vector>
#include "src/base/platform/platform.h"
namespace v8 {
namespace internal {
void CompilationStatistics::RecordPhaseStats(const char* phase_kind_name,
const char* phase_name,
const BasicStats& stats) { … }
void CompilationStatistics::RecordPhaseKindStats(const char* phase_kind_name,
const BasicStats& stats) { … }
void CompilationStatistics::RecordTotalStats(const BasicStats& stats) { … }
void CompilationStatistics::BasicStats::Accumulate(const BasicStats& stats) { … }
std::string CompilationStatistics::BasicStats::AsJSON() { … }
static void WriteLine(std::ostream& os, bool machine_format, const char* name,
const char* compiler,
const CompilationStatistics::BasicStats& stats,
const CompilationStatistics::BasicStats& total_stats) { … }
static void WriteFullLine(std::ostream& os) { … }
static void WriteHeader(std::ostream& os, const char* compiler) { … }
static void WritePhaseKindBreak(std::ostream& os) { … }
std::ostream& operator<<(std::ostream& os, const AsPrintableStatistics& ps) { … }
}
}