14 #ifndef HH_SENF_Utils_FlowStatistics_ 15 #define HH_SENF_Utils_FlowStatistics_ 1 29 mask_(
std::uint64_t(1 << bits) - 1),
34 std::int32_t
difference(std::uint32_t current, std::uint32_t last)
36 return std::int32_t(((current - last) & mask_) ^ limit_) - limit_;
40 std::uint32_t
const mask_;
41 std::uint32_t
const limit_;
55 bool update(std::uint32_t seqNo, std::uint32_t payloadSize);
59 std::int32_t maxLate()
const;
62 void countGood(std::uint32_t payloadSize);
77 std::int32_t
const maxLate_;
79 bool firstUpdateAfterReset_;
92 void update(std::uint32_t txTStamp, std::uint32_t rxTStamp,
bool updateDelay);
101 bool firstUpdateAfterReset_;
config::time_type clock_type
DifferenceSigned(std::uint8_t bits)
virtual ~TimestampStatistics()
StatisticAccumulator< std::uint32_t > pdv
Statistics public header.
void dump(std::ostream &os, DirectoryNode &dir=root())
std::uint64_t goodBytesTotal
virtual ~SequenceNumberStatistics()
StatisticAccumulator< std::int32_t > delay
::phoenix::function< detail::clear > const clear
clear phoenix functor
std::int32_t difference(std::uint32_t current, std::uint32_t last)