| 41 | |
| 42 | template <typename RepresentationType> |
| 43 | Duration DurationFromMilliseconds(RepresentationType representation) { |
| 44 | return std::chrono::duration_cast<Duration>( |
| 45 | std::chrono::duration<RepresentationType, std::milli>(representation)); |
| 46 | } |
| 47 | |
| 48 | template <typename RepresentationType> |
| 49 | Duration DurationFromNanoseconds(RepresentationType representation) { |
no outgoing calls
no test coverage detected