Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
benchmarkutils.h File Reference
#include <iostream>
#include <string>
#include "ion/analytics/benchmark.h"
Include dependency graph for benchmarkutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ion
 Copyright 2016 Google Inc.
 
 ion::analytics
 

Functions

size_t ion::analytics::MergeBenchmarks (const Benchmark &from, Benchmark *to)
 Public functions. More...
 
void ion::analytics::OutputBenchmarkAsCsv (const Benchmark &benchmark, std::ostream &out)
 Outputs benchmark results as CSV (comma-separated values), suitable for use in performance dashboards. More...
 
void ion::analytics::OutputConstantAsJson (const Benchmark::Constant &c, const std::string &indent, std::ostream &out)
 Outputs a Constant as JSON. See below for the output format. More...
 
void ion::analytics::OutputAccumulatedVariableAsJson (const Benchmark::AccumulatedVariable &v, const std::string &indent, std::ostream &out)
 Outputs an AccumulatedVariable as JSON. See below for the output format. More...
 
void ion::analytics::OutputBenchmarkAsJson (const Benchmark &benchmark, const std::string &indent, std::ostream &out)
 Outputs benchmark results as JSON, suitable for serialization and use in performance dashboards. More...
 
void ion::analytics::OutputBenchmarkPretty (const std::string &id_string, bool print_descriptions, const Benchmark &benchmark, std::ostream &out)
 Outputs benchmark results in pretty format. More...