diff options
Diffstat (limited to 'chromium/third_party/angle/samples/angle/sample_util/Timer.h')
-rw-r--r-- | chromium/third_party/angle/samples/angle/sample_util/Timer.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/chromium/third_party/angle/samples/angle/sample_util/Timer.h b/chromium/third_party/angle/samples/angle/sample_util/Timer.h new file mode 100644 index 00000000000..b86cf85b4c9 --- /dev/null +++ b/chromium/third_party/angle/samples/angle/sample_util/Timer.h @@ -0,0 +1,18 @@ +// +// Copyright (c) 2014 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +#ifndef SAMPLE_UTIL_TIMER_H +#define SAMPLE_UTIL_TIMER_H + +class Timer +{ + public: + virtual void start() = 0; + virtual void stop() = 0; + virtual double getElapsedTime() const = 0; +}; + +#endif // SAMPLE_UTIL_TIMER_H |