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

#include <chrono>

Public Types

using duration = std::chrono::duration< rep, period >
 basic duration type of clock
 
using period = std::ratio< 1, 1 >
 std::ratio type representing the tick period of the clock, in seconds
 
using rep = rtos::clock_rtc::timestamp_t
 
using sleep_duration = std::chrono::duration< sleep_rep, period >
 
using sleep_rep = rtos::clock_rtc::duration_t
 
using time_point = std::chrono::time_point< realtime_clock >
 

Static Public Member Functions

static time_point now () noexcept
 
static void sleep_for (sleep_rep)
 

Static Public Attributes

static constexpr bool has_sleep_for { true }
 
static constexpr const bool is_steady { false }
 
static time_point startup_time_point
 

Detailed Description

Definition at line 129 of file chrono.

Member Typedef Documentation

◆ duration

using os::estd::chrono::realtime_clock::duration = std::chrono::duration<rep, period>

basic duration type of clock

Definition at line 139 of file chrono.

◆ period

using os::estd::chrono::realtime_clock::period = std::ratio<1, 1>

std::ratio type representing the tick period of the clock, in seconds

Definition at line 137 of file chrono.

◆ rep

◆ sleep_duration

Definition at line 140 of file chrono.

◆ sleep_rep

◆ time_point

Definition at line 142 of file chrono.

Member Function Documentation

◆ now()

realtime_clock::time_point os::estd::chrono::realtime_clock::now ( )
staticnoexcept

Definition at line 60 of file chrono.cpp.

◆ sleep_for()

void os::estd::chrono::realtime_clock::sleep_for ( sleep_rep  secs)
inlinestatic

Definition at line 252 of file chrono.

Member Data Documentation

◆ has_sleep_for

constexpr bool os::estd::chrono::realtime_clock::has_sleep_for { true }
staticconstexpr

Definition at line 147 of file chrono.

◆ is_steady

constexpr const bool os::estd::chrono::realtime_clock::is_steady { false }
staticconstexpr

Definition at line 145 of file chrono.

◆ startup_time_point

realtime_clock::time_point os::estd::chrono::realtime_clock::startup_time_point
static

Definition at line 162 of file chrono.


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