19#pragma clang diagnostic ignored "-Wc++98-compat"
40#pragma GCC diagnostic push
42#elif defined(__GNUC__)
43#pragma GCC diagnostic ignored "-Waggregate-return"
84#pragma GCC diagnostic push
86#elif defined(__GNUC__)
87#pragma GCC diagnostic ignored "-Wuseless-cast"
94 std::chrono::duration_cast<std::chrono::seconds> (
95 t.time_since_epoch ()).count ());
98#pragma GCC diagnostic pop
113#pragma GCC diagnostic push
114#if defined(__clang__)
116#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
126 { cycles * 1000000000ULL
130#pragma GCC diagnostic pop
133#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.