mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
Per XLS-0095, we are taking steps to rename ripple(d) to xrpl(d). This change specifically removes all copyright notices referencing Ripple, XRPLF, and certain affiliated contributors upon mutual agreement, so the notice in the LICENSE.md file applies throughout. Copyright notices referencing external contributions remain as-is. Duplicate verbiage is also removed.
25 lines
561 B
C++
25 lines
561 B
C++
#ifndef XRPL_TEST_CSF_SIMTIME_H_INCLUDED
|
|
#define XRPL_TEST_CSF_SIMTIME_H_INCLUDED
|
|
|
|
#include <xrpl/beast/clock/manual_clock.h>
|
|
|
|
#include <chrono>
|
|
|
|
namespace ripple {
|
|
namespace test {
|
|
namespace csf {
|
|
|
|
using RealClock = std::chrono::system_clock;
|
|
using RealDuration = RealClock::duration;
|
|
using RealTime = RealClock::time_point;
|
|
|
|
using SimClock = beast::manual_clock<std::chrono::steady_clock>;
|
|
using SimDuration = typename SimClock::duration;
|
|
using SimTime = typename SimClock::time_point;
|
|
|
|
} // namespace csf
|
|
} // namespace test
|
|
} // namespace ripple
|
|
|
|
#endif
|