| 52 | } |
| 53 | |
| 54 | inline float ToFloatSeconds(const Duration& duration) { |
| 55 | return std::chrono::duration_cast<std::chrono::duration<float>>(duration) |
| 56 | .count(); |
| 57 | } |
| 58 | |
| 59 | inline std::int64_t ToInt64Nanoseconds(const Duration& duration) { |
| 60 | return std::chrono::duration_cast< |