libstdc++
std::chrono::_V2::system_clock Struct Reference

Public Types

typedef chrono::nanoseconds duration
 
typedef duration::period period
 
typedef duration::rep rep
 
typedef chrono::time_point< system_clock, durationtime_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 1125 of file chrono.

Member Typedef Documentation

◆ duration

◆ period

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

Definition at line 1129 of file chrono.

◆ rep

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

Definition at line 1128 of file chrono.

◆ time_point

Member Function Documentation

◆ from_time_t()

static time_point std::chrono::_V2::system_clock::from_time_t ( std::time_t  __t)
inlinestaticnoexcept

Definition at line 1150 of file chrono.

◆ to_time_t()

static std::time_t std::chrono::_V2::system_clock::to_time_t ( const time_point __t)
inlinestaticnoexcept

Definition at line 1143 of file chrono.

Member Data Documentation

◆ is_steady

constexpr bool std::chrono::_V2::system_clock::is_steady
staticconstexpr

Definition at line 1136 of file chrono.


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