Scroll to navigation

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


std::chrono::steady_clock - 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 1150 of file chrono.

Member Typedef Documentation

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

Definition at line 1152 of file chrono.

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

Definition at line 1154 of file chrono.

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

Definition at line 1153 of file chrono.

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

Definition at line 1155 of file chrono.

Member Data Documentation

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

Definition at line 1157 of file chrono.


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

Mon Aug 22 2022 libstdc++