#include <fastmm/core/venue_health.hpp>
|
| FASTMM_FORCE_INLINE bool | on_md (VenueId v, std::int64_t lag, Timestamp now, Duration limit) noexcept |
| | A market-data message of venue v with lag = recv_ts - exch_ts, consumed at now.
|
| |
| void | on_ack (VenueId v, Duration rtt, Timestamp now) noexcept |
| |
| void | copy_feed (const VenueHealth &from, std::size_t v) noexcept |
| | Venue v's feed-lag half of from (not the gate, nor the acks): it followed the same messages.
|
| |
| FASTMM_FORCE_INLINE bool | gated (VenueId v, Timestamp now) const noexcept |
| |
| VenueHealthView | view (VenueId v, Timestamp now) const noexcept |
| |
◆ on_md()
A market-data message of venue v with lag = recv_ts - exch_ts, consumed at now.
With limit > 0, returns true when the message engages the gate (it was not holding the venue).
◆ on_ack()
◆ copy_feed()
| void fastmm::VenueHealth::copy_feed |
( |
const VenueHealth & |
from, |
|
|
std::size_t |
v |
|
) |
| |
|
inlinenoexcept |
Venue v's feed-lag half of from (not the gate, nor the acks): it followed the same messages.
◆ gated()
| FASTMM_FORCE_INLINE bool fastmm::VenueHealth::gated |
( |
VenueId |
v, |
|
|
Timestamp |
now |
|
) |
| const |
|
inlinenoexcept |
◆ view()
◆ kVenues
| constexpr std::size_t fastmm::VenueHealth::kVenues = 8 |
|
staticconstexpr |
◆ kBuckets
| constexpr std::size_t fastmm::VenueHealth::kBuckets = 8 |
|
staticconstexpr |
◆ kBucket
◆ kWindow
◆ kGateHold