UNISTDX_SYSTEM_CLOCK
enum clocks: ::clockid_t
    class sys::clock
    Types
    • using period = duration::period
    • using rep = duration::rep
    • using time_point = std::chrono::time_point< clock, duration >
    • using duration = std::chrono::nanoseconds
    Fields
    • constexpr const bool is_steady
    Methods
    • operator=(clock &&) -> clock &
    • clock(clock &&)
    • operator=(const clock &) -> clock &
    • clock(const clock &)
    • ~clock()
    • clock()
    • sleep_until(time_point tp) -> void
    • sleep_for(duration amount) -> duration
    • time(time_point rhs) -> void
    • time() const -> time_point
    • resolution() const -> duration
    • clock(fildes && fd)explicit
    • clock(clocks id)explicit
    class sys::time_of_day
    Types
    • using period = duration::period
    • using rep = duration::rep
    • using time_point = std::chrono::time_point< time_of_day, duration >
    • using duration = std::chrono::nanoseconds
    Fields
    • constexpr const bool is_steady
    Methods
    • adjust(duration delta) -> duration
    • now(time_point rhs) -> void
    • now() -> time_point