Struct time_point_t

Struct Documentation

struct time_point_t

A monotonic clock’s time point. The different between 2 time points yields the duration_t time interval. The internal timepoint is an implementation detail and should not be accessed directly. A monotonic clock should only be used for time interval measurements.

Public Functions

time_point_t() noexcept = default
inline explicit time_point_t(std::chrono::high_resolution_clock::time_point tp) noexcept
time_point_t(const time_point_t&) noexcept = default
time_point_t &operator=(const time_point_t&) noexcept = default
inline duration_t operator-(const time_point_t &o) const noexcept