|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
#include <fastmm/core/venue_health.hpp>
Public Member Functions | |
| 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 |
| FASTMM_FORCE_INLINE bool | gated (VenueId v, Timestamp now) const noexcept |
| VenueHealthView | view (VenueId v, Timestamp now) const noexcept |
Static Public Attributes | |
| static constexpr std::size_t | kVenues = 8 |
| kMaxVenues | |
| static constexpr std::size_t | kBuckets = 8 |
| static constexpr Duration | kBucket = seconds(1) |
| static constexpr Duration | kWindow = Duration{kBucket.ns * static_cast<std::int64_t>(kBuckets)} |
| static constexpr Duration | kGateHold = milliseconds(100) |
|
inlinenoexcept |
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).
|
inlinenoexcept |
|
inlinenoexcept |
|
staticconstexpr |
kMaxVenues
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |