Date and time utilities
From Cppreference
< cpp
C++ Standard Library | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Utilities library | ||||||||||||||||||||||||||||||||||||||||
Date and time utilities | ||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
Contents |
[edit] Time point
Time point defines amount of time that has passed since the epoch of specific clock.
Defined in header
<chrono> | |||
Defined in namespace std::chrono
| |||
|
a point in time (class template) |
[edit] Duration
Duration defines time span between two time points.
Defined in header
<chrono> | |||
Defined in namespace std::chrono
| |||
|
a time interval (class template) |
[edit] Clocks
Clock defines a mechanism to measure the amount of time since the epoch specific to that clock.
Defined in header
<chrono> | |||
Defined in namespace std::chrono
| |||
|
wall clock time from the system-wide realtime clock (class) |
||
|
monotonic clock that will never be adjusted (class) |
||
|
the clock with the shortest tick period available (class) |