42 return (out << std::chrono::duration_cast<std::chrono::microseconds>(
time.time_since_epoch())
50 return (out << std::chrono::duration_cast<std::chrono::microseconds>(duration).count()
57using goby::time::operator<<;
Functions and objects related to timekeeping.
ToTimeType convert(FromTimeType from_time)
Convert between time representations (this function works for tautological conversions).
std::ostream & operator<<(std::ostream &out, const goby::time::SystemClock::time_point &time)
The global namespace for the Goby project.
std::chrono::time_point< SteadyClock > time_point
std::chrono::time_point< SystemClock > time_point
std::chrono::microseconds duration
Duration type.