18#pragma clang diagnostic ignored "-Wc++98-compat"
39#pragma GCC diagnostic push
41#elif defined(__GNUC__)
42#pragma GCC diagnostic ignored "-Waggregate-return"
79#pragma GCC diagnostic push
81#elif defined(__GNUC__)
82#pragma GCC diagnostic ignored "-Wuseless-cast"
88 return time_t (std::chrono::duration_cast<std::chrono::seconds> (
89 t.time_since_epoch ())
93#pragma GCC diagnostic pop
108#pragma GCC diagnostic push
109#if defined(__clang__)
112#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
125#pragma GCC diagnostic pop
128#pragma GCC diagnostic pop
std::chrono::time_point< high_resolution_clock > time_point
static time_point now() noexcept
std::chrono::nanoseconds duration
std::chrono::duration< rep, period > duration
basic duration type of clock
std::chrono::time_point< realtime_clock > time_point
static time_point startup_time_point
static time_point now() noexcept
static time_point from_time_t(time_t t) noexcept
std::chrono::time_point< system_clock > time_point
std::chrono::microseconds duration
static time_t to_time_t(const time_point &tp) noexcept
static time_point now() noexcept
std::chrono::time_point< systick_clock > time_point
basic time_point type of clock
static time_point now() noexcept
std::chrono::duration< rep, period > duration
basic duration type of clock
virtual timestamp_t now(void) override
Tell the current time adjusted for epoch.
uint32_t input_clock_frequency_hz(void)
virtual timestamp_t now(void) override
Tell the current time.
virtual timestamp_t now(void)
Tell the current time, possibly adjusted for epoch.
clock_highres hrclock
The high resolution clock object instance.
clock_rtc rtclock
The real time clock object instance.
clock_systick sysclock
The system clock object instance.
systick_clock::duration systicks
Single file µOS++ RTOS definitions.