1 | // Copyright 2013 The Flutter Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. |
4 | |
5 | #pragma once |
6 | |
7 | #include <chrono> |
8 | |
9 | namespace impeller { |
10 | |
11 | using MillisecondsF = std::chrono::duration<float, std::milli>; |
12 | using SecondsF = std::chrono::duration<float>; |
13 | using Clock = std::chrono::high_resolution_clock; |
14 | using TimePoint = std::chrono::time_point<std::chrono::high_resolution_clock>; |
15 | |
16 | } // namespace impeller |
17 | |