18 #ifndef ION_ANALYTICS_BENCHMARKUTILS_H_
19 #define ION_ANALYTICS_BENCHMARKUTILS_H_
43 const std::string& indent,
48 const Benchmark::AccumulatedVariable& v,
const std::string& indent,
90 const std::string& indent,
96 bool print_descriptions,
97 const Benchmark& benchmark,
103 #endif // ION_ANALYTICS_BENCHMARKUTILS_H_
void OutputBenchmarkAsJson(const Benchmark &benchmark, const std::string &indent_in, std::ostream &out)
Outputs benchmark results as JSON, suitable for serialization and use in performance dashboards...
void OutputBenchmarkAsCsv(const Benchmark &benchmark, std::ostream &out)
Outputs benchmark results as CSV (comma-separated values), suitable for use in performance dashboards...
void OutputConstantAsJson(const Benchmark::Constant &c, const std::string &indent, std::ostream &out)
Outputs a Constant as JSON. See below for the output format.
size_t MergeBenchmarks(const Benchmark &from, Benchmark *to)
Public functions.
void OutputBenchmarkPretty(const std::string &id_string, bool print_descriptions, const Benchmark &benchmark, std::ostream &out)
Outputs benchmark results in pretty format.
void OutputAccumulatedVariableAsJson(const Benchmark::AccumulatedVariable &v, const std::string &indent, std::ostream &out)
Outputs an AccumulatedVariable as JSON. See below for the output format.