itch-mold-replay 1.0
Time-accurate NASDAQ TotalView-ITCH 5.0 replay over MoldUDP64
Loading...
Searching...
No Matches
pacer.h File Reference
#include "imr/util/log.h"
#include <chrono>
#include <concepts>

Go to the source code of this file.

Classes

class  imr::mold::downstream::Pacer< Clock >
 Calculates relative delay for a given message timestamp for downstream (which passes the first message's timestamp from each packet ) More...
 
struct  imr::mold::downstream::Pacer< Clock >::Config
 

Namespaces

namespace  imr
 
namespace  imr::mold
 
namespace  imr::mold::downstream
 

Concepts

concept  imr::mold::downstream::ClockConcept
 

Enumerations

enum class  imr::mold::downstream::MarketPhase { imr::mold::downstream::pre , imr::mold::downstream::open , imr::mold::downstream::close }
 

Functions

constexpr std::chrono::nanoseconds imr::mold::downstream::phase_to_ns (MarketPhase phase)
 

Variables

constexpr auto imr::mold::downstream::market_open {phase_to_ns(MarketPhase::open)}
 
constexpr auto imr::mold::downstream::market_pre {phase_to_ns(MarketPhase::pre)}
 
constexpr auto imr::mold::downstream::market_close {phase_to_ns(MarketPhase::close)}