#ifndef TESTING_PERF_PERF_TEST_H_
#define TESTING_PERF_PERF_TEST_H_
#include <string>
namespace perf_test
{
void PrintResult(const std::string &measurement,
const std::string &modifier,
const std::string &trace,
size_t value,
const std::string &units,
bool important);
void PrintResult(const std::string &measurement,
const std::string &modifier,
const std::string &trace,
double value,
const std::string &units,
bool important);
void AppendResult(std::string &output,
const std::string &measurement,
const std::string &modifier,
const std::string &trace,
size_t value,
const std::string &units,
bool important);
void PrintResult(const std::string &measurement,
const std::string &modifier,
const std::string &trace,
const std::string &value,
const std::string &units,
bool important);
void AppendResult(std::string &output,
const std::string &measurement,
const std::string &modifier,
const std::string &trace,
const std::string &value,
const std::string &units,
bool important);
void PrintResultMeanAndError(const std::string &measurement,
const std::string &modifier,
const std::string &trace,
const std::string &mean_and_error,
const std::string &units,
bool important);
void AppendResultMeanAndError(std::string &output,
const std::string &measurement,
const std::string &modifier,
const std::string &trace,
const std::string &mean_and_error,
const std::string &units,
bool important);
void PrintResultList(const std::string &measurement,
const std::string &modifier,
const std::string &trace,
const std::string &values,
const std::string &units,
bool important);
void AppendResultList(std::string &output,
const std::string &measurement,
const std::string &modifier,
const std::string &trace,
const std::string &values,
const std::string &units,
bool important);
void PrintSystemCommitCharge(const std::string &test_name, size_t charge, bool important);
void PrintSystemCommitCharge(FILE *target,
const std::string &test_name,
size_t charge,
bool important);
std::string SystemCommitChargeToString(const std::string &test_name, size_t charge, bool important);
}
#endif