26#include <seastar/util/modules.hh>
38 using period = std::chrono::nanoseconds::period;
39 using duration = std::chrono::duration<rep, period>;
40 using time_point = std::chrono::time_point<manual_clock, duration>;
42 static std::atomic<rep> _now;
43 static void expire_timers()
noexcept;
46 static time_point now()
noexcept {
47 return time_point(duration(_now.load(std::memory_order_relaxed)));
49 static void advance(duration d)
noexcept;
Definition: manual_clock.hh:35
Seastar API namespace.
Definition: abort_on_ebadf.hh:26