| 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 #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
impeller::SecondsF
std::chrono::duration< float > SecondsF
Definition: timing.h:12
impeller::Clock
std::chrono::high_resolution_clock Clock
Definition: timing.h:13
impeller::TimePoint
std::chrono::time_point< std::chrono::high_resolution_clock > TimePoint
Definition: timing.h:14
impeller::MillisecondsF
std::chrono::duration< float, std::milli > MillisecondsF
Definition: timing.h:11
impeller
Definition: aiks_context.cc:10