34#pragma clang diagnostic ignored "-Wc++98-compat"
55#pragma GCC diagnostic push
56#pragma GCC diagnostic ignored "-Waggregate-return"
100 std::chrono::duration_cast<std::chrono::seconds> (
101 t.time_since_epoch ()).count ());
117#pragma GCC diagnostic push
118#if defined(__clang__)
120#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
130 { cycles * 1000000000ULL
134#pragma GCC diagnostic pop
137#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.