82 template <
typename Clock,
typename Duration =
typename Clock::duration>
86 using time_point = std::chrono::time_point<clock_type, duration>;
89 std::ratio_less_equal<
90 typename clock_type::duration::period,
91 typename duration::period>::
value,
92 "clock must be at least as precise as the requested duration");
96 "only monotonic clocks should be used to track time intervals");
169 return std::chrono::duration_cast<
duration>(
188 template <
typename UDuration>
242 template <
typename UDuration>
243 bool lap(UDuration&& amount) {
282 template <
typename Duration = folly::chrono::coarse_steady_clock::duration>
303 template <
typename Duration = std::chrono::steady_clock::duration>
clock_type::time_point checkpoint_
bool lap(UDuration &&amount)
std::chrono::steady_clock monotonic_clock
constexpr detail::Map< Move > move
std::chrono::steady_clock::time_point now()
—— Concurrent Priority Queue Implementation ——
std::chrono::milliseconds Duration
std::chrono::time_point< clock_type, duration > time_point
uint64_t value(const typename LockFreeRingBuffer< T, Atom >::Cursor &rbcursor)
custom_stop_watch(typename clock_type::time_point checkpoint)
clock_type::time_point getCheckpoint() const
bool elapsed(UDuration &&amount) const