#include <userver/utils/datetime/steady_coarse_clock.hpp>
Steady clock with up to a few millisecond resolution that is slightly faster than the std::chrono::steady_clock.
Definition at line 16 of file steady_coarse_clock.hpp.
Public Types | |
using | duration = std::chrono::steady_clock::duration |
using | rep = duration::rep |
using | period = duration::period |
using | time_point = std::chrono::time_point<SteadyCoarseClock, duration> |
Static Public Member Functions | |
static time_point | now () noexcept |
static duration | resolution () noexcept |
Static Public Attributes | |
static constexpr bool | is_steady = true |
using utils::datetime::SteadyCoarseClock::duration = std::chrono::steady_clock::duration |
Definition at line 18 of file steady_coarse_clock.hpp.
using utils::datetime::SteadyCoarseClock::period = duration::period |
Definition at line 20 of file steady_coarse_clock.hpp.
using utils::datetime::SteadyCoarseClock::rep = duration::rep |
Definition at line 19 of file steady_coarse_clock.hpp.
using utils::datetime::SteadyCoarseClock::time_point = std::chrono::time_point<SteadyCoarseClock, duration> |
Definition at line 21 of file steady_coarse_clock.hpp.
Definition at line 23 of file steady_coarse_clock.hpp.