1 #pragma once 2 3 #include "types/duration_types.hpp" 4 5 #include <gmock/gmock.h> 6 7 template <class Ratio> PrintTo(const std::chrono::duration<uint64_t,Ratio> & o,std::ostream * os)8inline void PrintTo(const std::chrono::duration<uint64_t, Ratio>& o, 9 std::ostream* os) 10 { 11 (*os) << std::chrono::duration_cast<Milliseconds>(o).count() << "us"; 12 } 13