#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 |
using os::estd::chrono::realtime_clock::duration = std::chrono::duration<rep, period> |
using os::estd::chrono::realtime_clock::period = std::ratio<1, 1> |
using os::estd::chrono::realtime_clock::sleep_duration = std::chrono::duration<sleep_rep, period> |
using os::estd::chrono::realtime_clock::time_point = std::chrono::time_point<realtime_clock> |
|
staticnoexcept |
Definition at line 60 of file chrono.cpp.
|
inlinestatic |
|
staticconstexpr |
|
staticconstexpr |
|
static |