A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/algorithm/../chrono/steady_clock.html below:

std::chrono::steady_clock - cppreference.com

std::chrono::steady_clock

class steady_clock;

(since C++11)

Class std::chrono::steady_clock represents a monotonic clock. The time points of this clock cannot decrease as physical time moves forward and the time between ticks of this clock is constant. This clock is not related to wall clock time (for example, it can be time since last reboot), and is most suitable for measuring intervals.

std::chrono::steady_clock meets the requirements of TrivialClock.

[edit] Member types Member type Definition rep arithmetic type representing the number of ticks in the clock's duration period a std::ratio type representing the tick period of the clock, in seconds duration std::chrono::duration<rep, period> time_point std::chrono::time_point<std::chrono::steady_clock> [edit] Member constants

constexpr bool is_steady

[static]

steady clock flag, always true
(public static member constant) [edit] Member functions returns a time_point representing the current value of the clock
(public static member function) [edit] See also wall clock time from the system-wide realtime clock
(class) the clock with the shortest tick period available
(class)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4