22 #include <ripple/beast/clock/abstract_clock.h>
23 #include <ripple/beast/clock/manual_clock.h>
24 #include <ripple/beast/unit_test.h>
34 template <
class Clock>
39 auto const t1 (c.
now ());
42 auto const t2 (c.
now ());
45 "t1= " << t1.time_since_epoch().count() <<
46 ", t2= " << t2.time_since_epoch().count() <<
47 ", elapsed= " << (t2 - t1).count() <<
std::endl;
61 auto c1 = c.now().time_since_epoch();
63 auto c2 = c.now().time_since_epoch();
65 auto c3 = c.now().time_since_epoch();
68 "[" << c1.count () <<
"," << c2.count () <<