49 #pragma GCC diagnostic push 50 #pragma GCC diagnostic ignored "-Waggregate-return" 85 { ticks } + realtime_clock::startup_time_point.time_since_epoch ()
94 std::chrono::duration_cast<std::chrono::seconds> (
95 t.time_since_epoch ()).count ());
119 { cycles * 1000000000ULL
121 + realtime_clock::startup_time_point.time_since_epoch () }
125 #pragma GCC diagnostic pop std::chrono::duration< rep, period > duration
basic duration type of clock
std::chrono::time_point< system_clock > time_point
static time_t to_time_t(const time_point &tp) noexcept
std::chrono::time_point< realtime_clock > time_point
systick_clock::duration systicks
clock_highres hrclock
The high resolution clock object instance.
clock_rtc rtclock
The real time clock object instance.
static time_point now() noexcept
Single file µOS++ RTOS definitions.
clock_systick sysclock
The system clock object instance.
uint32_t input_clock_frequency_hz(void)
std::chrono::time_point< systick_clock > time_point
basic time_point type of clock
std::chrono::duration< rep, period > duration
basic duration type of clock
static time_point now() noexcept
static time_point from_time_t(time_t t) noexcept
std::chrono::time_point< high_resolution_clock > time_point
std::chrono::microseconds duration
virtual timestamp_t now(void) override
Tell the current time.
virtual timestamp_t now(void) override
Tell the current time adjusted for epoch.
std::chrono::nanoseconds duration
static time_point now() noexcept
static time_point startup_time_point
static time_point now() noexcept
virtual timestamp_t now(void)
Tell the current time, possibly adjusted for epoch.