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
| |
| (C++11)
|
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
| |
| (C++11)
|
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
| |
| (C++11)
|
wall clock time from the system-wide realtime clock (class) |
| (C++11)
|
monotonic clock that will never be adjusted (class) |
| (C++11)
|
the clock with the shortest tick period available (class) |