#include "perf_result_reporter.h"
#include "anglebase/logging.h"
#include "perf_test.h"
namespace perf_test
{
PerfResultReporter::PerfResultReporter(const std::string &metric_basename,
const std::string &story_name)
: … { … }
PerfResultReporter::~PerfResultReporter() = default;
void PerfResultReporter::RegisterFyiMetric(const std::string &metric_suffix,
const std::string &units)
{ … }
void PerfResultReporter::RegisterImportantMetric(const std::string &metric_suffix,
const std::string &units)
{ … }
void PerfResultReporter::AddResult(const std::string &metric_suffix, size_t value)
{ … }
void PerfResultReporter::AddResult(const std::string &metric_suffix, double value)
{ … }
void PerfResultReporter::AddResult(const std::string &metric_suffix, const std::string &value)
{ … }
bool PerfResultReporter::GetMetricInfo(const std::string &metric_suffix, MetricInfo *out)
{ … }
void PerfResultReporter::RegisterMetric(const std::string &metric_suffix,
const std::string &units,
bool important)
{ … }
}