Lines Matching refs:stats
16 const BasicStats& stats) { in RecordPhaseStats() argument
23 it->second.Accumulate(stats); in RecordPhaseStats()
28 const BasicStats& stats) { in RecordPhaseKindStats() argument
36 it->second.Accumulate(stats); in RecordPhaseKindStats()
41 const BasicStats& stats) { in RecordTotalStats() argument
43 total_stats_.Accumulate(stats); in RecordTotalStats()
47 void CompilationStatistics::BasicStats::Accumulate(const BasicStats& stats) { in Accumulate() argument
48 delta_ += stats.delta_; in Accumulate()
49 total_allocated_bytes_ += stats.total_allocated_bytes_; in Accumulate()
50 if (stats.absolute_max_allocated_bytes_ > absolute_max_allocated_bytes_) { in Accumulate()
51 absolute_max_allocated_bytes_ = stats.absolute_max_allocated_bytes_; in Accumulate()
52 max_allocated_bytes_ = stats.max_allocated_bytes_; in Accumulate()
53 function_name_ = stats.function_name_; in Accumulate()
59 const CompilationStatistics::BasicStats& stats, in WriteLine() argument
64 double ms = stats.delta_.InMillisecondsF(); in WriteLine()
65 double percent = stats.delta_.PercentOf(total_stats.delta_); in WriteLine()
67 static_cast<double>(stats.total_allocated_bytes_ * 100) / in WriteLine()
72 name, ms, percent, stats.total_allocated_bytes_, in WriteLine()
73 size_percent, stats.max_allocated_bytes_, in WriteLine()
74 stats.absolute_max_allocated_bytes_); in WriteLine()
77 if (stats.function_name_.size() > 0) { in WriteLine()
78 os << " " << stats.function_name_.c_str(); in WriteLine()