9 #ifndef CPPBENCHMARK_REPORTER_JSON_H
10 #define CPPBENCHMARK_REPORTER_JSON_H
33 ReporterJSON(std::ostream& stream = std::cout) : _stream(stream), _benchmark_comma(false), _phase_comma(false) {}
58 std::ostream& _stream;
59 bool _benchmark_comma;
void ReportBenchmarkHeader() override
Report current benchmark header.
ReporterJSON(ReporterJSON &&)=delete
ReporterJSON(const ReporterJSON &)=delete
void ReportBenchmark(const BenchmarkBase &benchmark, const Settings &settings) override
Report current benchmark information.
ReporterJSON & operator=(ReporterJSON &&)=delete
void ReportPhasesHeader() override
Report all phases header.
void ReportPhaseFooter() override
Report current phase footer.
ReporterJSON(std::ostream &stream=std::cout)
Default class constructor.
void ReportBenchmarkFooter() override
Report current benchmark footer.
void ReportPhaseHeader() override
Report current phase header.
void ReportPhase(const PhaseCore &phase, const PhaseMetrics &metrics) override
Report current phase information.
void ReportHeader() override
Report header.
void ReportBenchmarksFooter() override
Report all benchmarks footer.
void ReportFooter() override
Report footer.
void ReportEnvironment() override
Report environment information.
ReporterJSON & operator=(const ReporterJSON &)=delete
void ReportSystem() override
Report system information.
void ReportPhasesFooter() override
Report all phases footer.
virtual ~ReporterJSON()=default
void ReportBenchmarksHeader() override
Report all benchmarks header.
C++ Benchmark project definitions.
Reporter base definition.