µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
No Matches
os::estd::chrono::system_clock Class Reference

#include <chrono>

Public Types

using duration = std::chrono::microseconds
using period = duration::period
using rep = duration::rep
using time_point = std::chrono::time_point< system_clock >

Static Public Member Functions

static time_point from_time_t (time_t t) noexcept
static time_point now () noexcept
static time_t to_time_t (const time_point &tp) noexcept

Static Public Attributes

static constexpr const bool is_steady { true }

Detailed Description

Definition at line 171 of file chrono.

Member Typedef Documentation

◆ duration

using os::estd::chrono::system_clock::duration = std::chrono::microseconds

Definition at line 175 of file chrono.

◆ period

using os::estd::chrono::system_clock::period = duration::period

Definition at line 177 of file chrono.

◆ rep

using os::estd::chrono::system_clock::rep = duration::rep

Definition at line 176 of file chrono.

◆ time_point

using os::estd::chrono::system_clock::time_point = std::chrono::time_point<system_clock>

Definition at line 178 of file chrono.

Member Function Documentation

◆ from_time_t()

system_clock::time_point os::estd::chrono::system_clock::from_time_t ( time_t  t)

Definition at line 101 of file chrono.cpp.

◆ now()

system_clock::time_point os::estd::chrono::system_clock::now ( )

Definition at line 73 of file chrono.cpp.

◆ to_time_t()

time_t os::estd::chrono::system_clock::to_time_t ( const time_point tp)

Definition at line 91 of file chrono.cpp.

Member Data Documentation

◆ is_steady

constexpr const bool os::estd::chrono::system_clock::is_steady { true }

Definition at line 181 of file chrono.

The documentation for this class was generated from the following files: