std::chrono::system_clock(3cxx)

std::chrono::system_clock3cxx

System clock.

Usage

#include <chrono>

Public Types

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

Static Public Member Functions

static _GLIBCXX_TIME_BITS64_ABI_TAG time_point from_time_t (std::time_t __t) noexcept
static time_point now () noexcept
static _GLIBCXX_TIME_BITS64_ABI_TAG std::time_t to_time_t (const time_point &__t) noexcept

Static Public Attributes

static constexpr bool is_steady

Detailed Description

System clock.

Time returned represents wall time from the system-wide clock.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 13

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.