| // Copyright 2013 The Flutter Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #pragma once | |
| #include <chrono> | |
| namespace impeller { | |
| using MillisecondsF = std::chrono::duration<float, std::milli>; | |
| using SecondsF = std::chrono::duration<float>; | |
| using Clock = std::chrono::high_resolution_clock; | |
| using TimePoint = std::chrono::time_point<std::chrono::high_resolution_clock>; | |
| } // namespace impeller |