#include "gpu/perftests/measurements.h"
#include <stdint.h>
#include "base/logging.h"
#include "testing/perf/perf_result_reporter.h"
#include "ui/gl/gpu_timing.h"
namespace gpu {
Measurement::Measurement() = default;
Measurement::Measurement(const Measurement& m) = default;
Measurement::Measurement(const std::string& metric_basename,
const base::TimeDelta wall_time,
const base::TimeDelta cpu_time,
const base::TimeDelta gpu_time)
: … { … }
void Measurement::PrintResult(const std::string& story) const { … }
Measurement& Measurement::Increment(const Measurement& m) { … }
Measurement Measurement::Divide(int a) const { … }
Measurement::~Measurement() = default;
MeasurementTimers::MeasurementTimers(gl::GPUTimingClient* gpu_timing_client)
: … { … }
void MeasurementTimers::Record() { … }
Measurement MeasurementTimers::GetAsMeasurement(
const std::string& metric_basename) { … }
MeasurementTimers::~MeasurementTimers() { … }
}