#include <chrono>
Public Types | |
using | duration = std::chrono::duration< rep, period > |
basic duration type of clock | |
using | period = std::ratio< 1, os::rtos::clock_systick::frequency_hz > |
std::ratio type representing the tick period of the clock, in seconds | |
using | rep = rtos::clock_systick::timestamp_t |
type of variable holding the tick counter | |
using | sleep_duration = std::chrono::duration< sleep_rep, period > |
using | sleep_rep = rtos::clock_systick::duration_t |
using | time_point = std::chrono::time_point< systick_clock > |
basic time_point type of clock | |
Static Public Member Functions | |
static time_point | now () noexcept |
static void | sleep_for (sleep_rep ticks) |
Static Public Attributes | |
static constexpr bool | has_sleep_for { true } |
static constexpr bool | is_steady { true } |
using os::estd::chrono::systick_clock::duration = std::chrono::duration<rep, period> |
using os::estd::chrono::systick_clock::period = std::ratio<1, os::rtos::clock_systick::frequency_hz> |
using os::estd::chrono::systick_clock::sleep_duration = std::chrono::duration<sleep_rep, period> |
using os::estd::chrono::systick_clock::time_point = std::chrono::time_point<systick_clock> |
|
staticnoexcept |
Definition at line 49 of file chrono.cpp.
|
inlinestatic |
|
staticconstexpr |
|
staticconstexpr |