std::chrono::steady_clock - Man Page

Monotonic clock.


#include <chrono>

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 1276 of file chrono.

Member Typedef Documentation

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

Definition at line 1278 of file chrono.

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

Definition at line 1280 of file chrono.

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

Definition at line 1279 of file chrono.

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

Definition at line 1281 of file chrono.

Member Data Documentation

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

Definition at line 1283 of file chrono.


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


Thu Jan 19 2023 libstdc++