| 1309 | // helpers to get double values |
| 1310 | template <typename T> |
| 1311 | inline double d(T t) noexcept { |
| 1312 | return static_cast<double>(t); |
| 1313 | } |
| 1314 | inline double d(Clock::duration duration) noexcept { |
| 1315 | return std::chrono::duration_cast<std::chrono::duration<double>>(duration).count(); |
| 1316 | } |
no test coverage detected