Scroll to navigation

std::chrono::steady_clock(3cxx) std::chrono::steady_clock(3cxx)


std::chrono::steady_clock - Monotonic clock.


Public Types

typedef chrono::nanoseconds duration
typedef duration::period period
typedef duration::rep rep
typedef chrono::time_point< steady_clock, duration > time_point

Static Public Member Functions

static time_point now () noexcept

Static Public Attributes

static constexpr bool is_steady

Detailed Description

Monotonic clock.

Time returned has the property of only increasing at a uniform rate.

Definition at line 867 of file chrono.

Member Typedef Documentation

typedef chrono::nanoseconds std::chrono::steady_clock::duration

Definition at line 869 of file chrono.

typedef duration::period std::chrono::steady_clock::period

Definition at line 871 of file chrono.

typedef duration::rep std::chrono::steady_clock::rep

Definition at line 870 of file chrono.

typedef chrono::time_point<steady_clock, duration> std::chrono::steady_clock::time_point

Definition at line 872 of file chrono.

Member Data Documentation

constexpr bool std::chrono::steady_clock::is_steady [static], [constexpr]

Definition at line 874 of file chrono.


Generated automatically by Doxygen for libstdc++ from the source code.

Thu Jul 13 2023 libstdc++