tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
system_clock Struct Reference

#include <system_clock.hpp>

Public Types

using duration = chrono::duration< rep, period >
 
using period = micro
 
using rep = int32_t
 
using time_point = chrono::time_point< system_clock >
 

Static Public Member Functions

static auto from_time_t (time_t t) noexcept -> time_point
 
static auto now () noexcept -> time_point
 
static auto to_time_t (time_point const &t) noexcept -> time_t
 

Static Public Attributes

static constexpr bool is_steady = false
 

Member Typedef Documentation

◆ duration

◆ period

◆ rep

◆ time_point

Member Function Documentation

◆ from_time_t()

static auto from_time_t ( time_t  t) -> time_point
inlinestaticnoexcept

◆ now()

static auto now ( ) -> time_point
inlinestaticnoexcept

◆ to_time_t()

static auto to_time_t ( time_point const t) -> time_t
inlinestaticnoexcept

Member Data Documentation

◆ is_steady

constexpr bool is_steady = false
staticconstexpr

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