2 // Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
7 #ifndef SAMPLE_UTIL_TIMER_H
8 #define SAMPLE_UTIL_TIMER_H
12 class ANGLE_EXPORT Timer
16 virtual void start() = 0;
17 virtual void stop() = 0;
18 virtual double getElapsedTime() const = 0;
21 ANGLE_EXPORT Timer *CreateTimer();
23 #endif // SAMPLE_UTIL_TIMER_H