34 #ifndef EMANEMODELSTDMASLOTSTATUSTABLEPUBLISHER_HEADER_ 35 #define EMANEMODELSTDMASLOTSTATUSTABLEPUBLISHER_HEADER_ 73 void update(std::uint32_t u32RelativeIndex,
74 std::uint32_t u32RelativeFrameIndex,
75 std::uint32_t u32RelativeSlotIndex,
77 double dSlotRemainingRatio);
85 using TxSlotCounterMap = std::map<std::uint32_t,
86 std::tuple<std::uint64_t,
89 std::array<std::uint64_t,8>
92 using RxSlotCounterMap = std::map<std::uint32_t,
93 std::tuple<std::uint64_t,
100 std::array<std::uint64_t,8>>>;
101 TxSlotCounterMap txSlotCounterMap_;
102 RxSlotCounterMap rxSlotCounterMap_;
104 void updateRx(std::uint32_t u32RelativeIndex,
105 std::uint32_t u32RelativeFrameIndex,
106 std::uint32_t u32RelativeSlotIndex,
108 double dSlotPortionRatio);
110 void updateTx(std::uint32_t u32RelativeIndex,
111 std::uint32_t u32RelativeFrameIndex,
112 std::uint32_t u32RelativeSlotIndex,
114 double dSlotPortionRatio);
121 #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.