| 27 | : options_(options) {} |
| 28 | |
| 29 | std::string StatsCalculator::GetShortSummary() const { |
| 30 | std::stringstream stream; |
| 31 | stream << "Timings (microseconds): "; |
| 32 | run_total_us_.OutputToStream(&stream); |
| 33 | stream << std::endl; |
| 34 | |
| 35 | stream << "Memory (bytes): "; |
| 36 | memory_.OutputToStream(&stream); |
| 37 | stream << std::endl; |
| 38 | |
| 39 | stream << details_.size() << " nodes observed" << std::endl; |
| 40 | return stream.str(); |
| 41 | } |
| 42 | |
| 43 | std::ostream& InitField(std::ostream& stream, int width) { |
| 44 | stream << "\t" << std::right << std::setw(width) << std::fixed |
no test coverage detected