std::chrono::steady_clock(3cxx)
π¦ std::chrono::steady_clock β bestie, it's giving monotonic π¦
okay so this is the std::chrono::steady_clock manual page from the 3cxx manual, and we're gonna get through it together. no cap. π
πΈ NAME πΈ
std::chrono::steady_clock β monotonic clock. periodt. π
β¨ SYNOPSIS β¨
#include <chrono>
π Public Types π
typedef chrono::nanoseconds durationβ the duration type, exactly as written.typedef duration::period periodβ the period type, straight fromduration::period.typedef duration::rep repβ the rep type, fromduration::rep.typedef chrono::time_point< steady_clock, duration > time_pointβ the time_point type forsteady_clockwithduration.
π«Ά Static Public Member Functions π«Ά
static time_point now () noexceptβ the staticnow()member function, signature exactly like that, withnoexcept.
π Static Public Attributes π
static constexpr bool is_steadyβ the static constexprboolattributeis_steady, listed right here.
π Detailed Description π
Monotonic clock. π°οΈβ¨
The time returned has the property of only increasing at a uniform rate. that's the whole vibe: only increasing, uniform rate. no cap. π
βοΈ Author βοΈ
Generated automatically by Doxygen for libstdc++ from the source code.
okay bestie, cute sign-off time π: source/version is libstdc++ β the footer says libstdc++ and repeats std::chrono::steady_clock(3cxx) β and there's no date printed on the page, so I'm not inventing one. bye-bye, slay your chrono journey π
πβ¨
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms