libstdc++: std::chrono::steady_clock Struct Reference

libstdc++

std::chrono::steady_clock Struct Reference
Utilities » Time

`#include <chrono.h>`

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

## Member Typedef Documentation

## ◆ duration

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

Definition at line 1278 of file chrono.h.

## ◆ period

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

Definition at line 1280 of file chrono.h.

## ◆ rep

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

Definition at line 1279 of file chrono.h.

## ◆ time_point

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

Definition at line 1281 of file chrono.h.

## Member Data Documentation

## ◆ is_steady

bool std::chrono::steady_clock::is_steady
| staticconstexpr

Definition at line 1283 of file chrono.h.

The documentation for this struct was generated from the following file:

- chrono.h