// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef GPU_PERFTESTS_MEASUREMENTS_H_ #define GPU_PERFTESTS_MEASUREMENTS_H_ #include <memory> #include <string> #include "base/time/time.h" namespace gl { class GPUTimingClient; class GPUTimer; } namespace gpu { struct Measurement { … }; // Class to measure wall, cpu and gpu time deltas. // The deltas are measured from the time of the object // creation up to when Record is called. class MeasurementTimers { … }; } // namespace gpu #endif // GPU_PERFTESTS_MEASUREMENTS_H_