YACLib
C++ library for concurrent tasks execution
|
#include <system_clock.hpp>
Public Types | |
using | duration = std::chrono::nanoseconds |
using | rep = duration::rep |
using | period = duration::period |
using | time_point = std::chrono::time_point< SystemClock > |
Static Public Member Functions | |
static time_point | now () |
static time_t | to_time_t (const time_point &time_point) noexcept |
static time_point | from_time_t (time_t c_time_point) noexcept |
Static Public Attributes | |
static constexpr bool | is_steady = true |
Definition at line 9 of file system_clock.hpp.
using yaclib::detail::fiber::SystemClock::duration = std::chrono::nanoseconds |
Definition at line 10 of file system_clock.hpp.
using yaclib::detail::fiber::SystemClock::period = duration::period |
Definition at line 12 of file system_clock.hpp.
using yaclib::detail::fiber::SystemClock::rep = duration::rep |
Definition at line 11 of file system_clock.hpp.
using yaclib::detail::fiber::SystemClock::time_point = std::chrono::time_point<SystemClock> |
Definition at line 13 of file system_clock.hpp.
|
staticnoexcept |
Definition at line 14 of file system_clock.cpp.
References yaclib::MakeContract().
|
static |
Definition at line 5 of file system_clock.cpp.
References yaclib::fault::Scheduler::GetScheduler(), and yaclib::fault::Scheduler::GetTimeNs().
Referenced by yaclib::detail::fiber::FiberQueue::Wait().
|
staticnoexcept |
Definition at line 9 of file system_clock.cpp.
Definition at line 15 of file system_clock.hpp.