blob: 9cf4531cecbd0ca77d40c6579ebb999d05bd4c5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
using TimePoint = std::chrono::steady_clock::time_point;
using Duration = std::chrono::steady_clock::duration;
double to_ms(Duration elapsed) {
std::chrono::duration<double, std::milli> ms(elapsed);
return ms.count();
}
|