33 #ifndef EMANEMODELSTDMASLOTSTATUSTABLEPUBLISHER_HEADER_ 34 #define EMANEMODELSTDMASLOTSTATUSTABLEPUBLISHER_HEADER_ 71 void update(std::uint32_t u32RelativeIndex,
72 std::uint32_t u32RelativeFrameIndex,
73 std::uint32_t u32RelativeSlotIndex,
75 double dSlotRemainingRatio);
83 using TxSlotCounterMap = std::map<std::uint32_t,
84 std::tuple<std::uint64_t,
87 std::array<std::uint64_t,8>
90 using RxSlotCounterMap = std::map<std::uint32_t,
91 std::tuple<std::uint64_t,
97 std::array<std::uint64_t,8>>>;
98 TxSlotCounterMap txSlotCounterMap_;
99 RxSlotCounterMap rxSlotCounterMap_;
101 void updateRx(std::uint32_t u32RelativeIndex,
102 std::uint32_t u32RelativeFrameIndex,
103 std::uint32_t u32RelativeSlotIndex,
105 double dSlotRemainingRatio);
107 void updateTx(std::uint32_t u32RelativeIndex,
108 std::uint32_t u32RelativeFrameIndex,
109 std::uint32_t u32RelativeSlotIndex,
111 double dSlotRemainingRatio);
118 #endif // EMANEMODELSTDMASLOTSTATUSTABLEPUBLISHER_HEADER_
void registerStatistics(StatisticRegistrar ®istrar)
The StatisticRegistrar allows NEM layers to register statistics and statistic tables. Statistics and Statistic tables are owned by the emulator framework and a borrowed reference is returned to the registering NEM layer.
void update(std::uint32_t u32RelativeIndex, std::uint32_t u32RelativeFrameIndex, std::uint32_t u32RelativeSlotIndex, Status status, double dSlotRemainingRatio)
Slot statistic and statistic table status publisher.