19 lines
869 B
Markdown
19 lines
869 B
Markdown
[time.clock.steady]
|
|
|
|
# 30 Time library [[time]](./#time)
|
|
|
|
## 30.7 Clocks [[time.clock]](time.clock#steady)
|
|
|
|
### 30.7.7 Class steady_clock [time.clock.steady]
|
|
|
|
namespace std::chrono {class steady_clock {public:using rep = *unspecified*; using period = ratio<*unspecified*, *unspecified*>; using duration = chrono::duration<rep, period>; using time_point = chrono::time_point<*unspecified*, duration>; static constexpr bool is_steady = true; static time_point now() noexcept; };}
|
|
|
|
[1](#1)
|
|
|
|
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L3480)
|
|
|
|
Objects of class steady_clock represent clocks for which values of time_point never decrease as physical time advances and for which values of time_point advance at
|
|
a steady rate relative to real time[.](#1.sentence-1)
|
|
|
|
That is, the clock may not be adjusted[.](#1.sentence-2)
|