11 using Clock = std::chrono::system_clock;
21 using TimePoint = std::chrono::time_point<Clock, Duration>;
32 os << duration.count() <<
" nanoseconds";
45 os << timepoint.time_since_epoch() <<
" nanoseconds since epoch";
Definition: Cartesian.hpp:40
std::chrono::nanoseconds Duration
Duration Type.
Definition: Clock.hpp:16
std::chrono::system_clock Clock
Clock Type.
Definition: Clock.hpp:11
std::ostream & operator<<(std::ostream &os, Duration duration)
Output stream operator for the Duration type.
Definition: Clock.hpp:30
std::chrono::time_point< Clock, Duration > TimePoint
TimePoint Type.
Definition: Clock.hpp:21