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 from duration::period.
  • typedef duration::rep rep β€” the rep type, from duration::rep.
  • typedef chrono::time_point< steady_clock, duration > time_point β€” the time_point type for steady_clock with duration.

🫢 Static Public Member Functions 🫢

  • static time_point now () noexcept β€” the static now() member function, signature exactly like that, with noexcept.

πŸŽ€ Static Public Attributes πŸŽ€

  • static constexpr bool is_steady β€” the static constexpr bool attribute is_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