Class template std::chrono::duration represents a time interval. It consists of a count of ticks of type Rep and a tick period, where the tick period is a compile-time rational fraction representing the time in seconds from one tick to the next. The only data stored in a duration is a tick count of type Rep. If Rep is floating point, then the duration can represent fractions of ticks. Period ...
Chrono library (since C++11) The chrono library defines several main types as well as utility functions and common typedefs: clocks time points durations
Duration Defined in namespace std::chrono duration (C++11) a time interval (class template) [edit] treat_as_floating_point (C++11) indicates that a duration is convertible to duration with different tick period (class template) [edit] duration_values (C++11) constructs zero, min, and max values of a tick count of given type (class template) [edit]
Converts a std::chrono::duration to a duration of different type ToDuration. The function only participate in overload resolution if ToDuration is a specialization of std::chrono::duration.
Class template std::chrono::time_point represents a point in time. It is implemented as if it stores a value of type Duration indicating the time interval from the start of the Clock 's epoch.
The zero, min, and max static member functions in std::chrono::duration forward their work to these functions. This type can be specialized if the representation Rep requires a specific implementation to return these duration objects.
std::chrono::treat_as_floating_point