| Flutter Impeller |

timing.h
Go to the documentation of this file.
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 #ifndef FLUTTER_IMPELLER_BASE_TIMING_H_
6 #define FLUTTER_IMPELLER_BASE_TIMING_H_
7
8 #include <chrono>
9
10 namespace impeller {
11
12 using MillisecondsF = std::chrono::duration<float, std::milli>;
13 using SecondsF = std::chrono::duration<float>;
14 using Clock = std::chrono::high_resolution_clock;
15 using TimePoint = std::chrono::time_point<std::chrono::high_resolution_clock>;
16
17 } // namespace impeller
18
19 #endif // FLUTTER_IMPELLER_BASE_TIMING_H_
impeller::SecondsF
std::chrono::duration< float > SecondsF
Definition: timing.h:13
impeller::Clock
std::chrono::high_resolution_clock Clock
Definition: timing.h:14
impeller::TimePoint
std::chrono::time_point< std::chrono::high_resolution_clock > TimePoint
Definition: timing.h:15
impeller::MillisecondsF
std::chrono::duration< float, std::milli > MillisecondsF
Definition: timing.h:12
impeller
Definition: allocation.cc:12