std::chrono::steady_clock(3cxx)

std::chrono::steady_clock3cxx

Monotonic clock.

Usage

#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.

Author

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

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.