Manpages - std_chrono__system_clock.3

Table of Contents

NAME

std::chrono::system_clock - System clock.

SYNOPSIS


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 time_point from_time_t (std::time_t __t) noexcept

static time_point now () noexcept

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

Definition at line 1101 of file std/chrono.

Member Typedef Documentation

typedef chrono::nanoseconds std::chrono::system_clock::duration

Definition at line 1103 of file std/chrono.

typedef duration::period std::chrono::system_clock::period

Definition at line 1105 of file std/chrono.

typedef duration::rep std::chrono::system_clock::rep

Definition at line 1104 of file std/chrono.

typedef chrono::time_point*<*system_clock, *duration*>

std::chrono::system_clock::time_point Definition at line 1106 of file std/chrono.

Member Function Documentation

static time_point std::chrono::system_clock::from_time_t

(std::time_t __t)= [inline]=, = [static]=, = [noexcept]= Definition at line 1126 of file std/chrono.

static std::time_t std::chrono::system_clock::to_time_t (const

time_point & __t)= [inline]=, = [static]=, = [noexcept]= Definition at line 1119 of file std/chrono.

Member Data Documentation

constexpr bool std::chrono::system_clock::is_steady= [static]=,

= [constexpr]= Definition at line 1112 of file std/chrono.

Author

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

Author: dt

Created: 2022-02-21 Mon 15:03