senf::SequenceNumberStatistics Class Reference

#include <senf/Utils/FlowStatistics.hh>

Inheritance diagram for senf::SequenceNumberStatistics:

Public Member Functions

 SequenceNumberStatistics (std::uint8_t bits, std::int32_t maxLate)
 
virtual ~SequenceNumberStatistics ()
 
virtual void clear ()
 
virtual void reset ()
 
bool update (std::uint32_t seqNo, std::uint32_t payloadSize)
 
void dump (std::ostream &os, ClockService::clock_type const &period=ClockService::clock_type(0)) const
 
std::int32_t maxLate () const
 
- Public Member Functions inherited from senf::Detail::DifferenceSigned
 DifferenceSigned (std::uint8_t bits)
 
std::int32_t difference (std::uint32_t current, std::uint32_t last)
 

Public Attributes

std::uint32_t good
 
std::uint32_t goodBytes
 
std::uint32_t duplicate
 
std::uint32_t late
 
std::uint32_t lateMax
 
std::uint32_t lost
 
std::uint32_t lostLate
 
std::uint32_t resyncs
 
std::uint64_t goodTotal
 
std::uint64_t goodBytesTotal
 

Protected Member Functions

void countGood (std::uint32_t payloadSize)
 

Detailed Description

Definition at line 45 of file FlowStatistics.hh.

Constructor & Destructor Documentation

◆ SequenceNumberStatistics()

senf::SequenceNumberStatistics::SequenceNumberStatistics ( std::uint8_t  bits,
std::int32_t  maxLate 
)

◆ ~SequenceNumberStatistics()

virtual senf::SequenceNumberStatistics::~SequenceNumberStatistics ( )
inlinevirtual

Definition at line 50 of file FlowStatistics.hh.

Member Function Documentation

◆ clear()

virtual void senf::SequenceNumberStatistics::clear ( )
virtual

◆ countGood()

void senf::SequenceNumberStatistics::countGood ( std::uint32_t  payloadSize)
protected

◆ dump()

void senf::SequenceNumberStatistics::dump ( std::ostream &  os,
ClockService::clock_type const &  period = ClockService::clock_type(0) 
) const

◆ maxLate()

std::int32_t senf::SequenceNumberStatistics::maxLate ( ) const

◆ reset()

virtual void senf::SequenceNumberStatistics::reset ( )
virtual

◆ update()

bool senf::SequenceNumberStatistics::update ( std::uint32_t  seqNo,
std::uint32_t  payloadSize 
)

Member Data Documentation

◆ duplicate

std::uint32_t senf::SequenceNumberStatistics::duplicate

Definition at line 67 of file FlowStatistics.hh.

◆ good

std::uint32_t senf::SequenceNumberStatistics::good

Definition at line 65 of file FlowStatistics.hh.

◆ goodBytes

std::uint32_t senf::SequenceNumberStatistics::goodBytes

Definition at line 66 of file FlowStatistics.hh.

◆ goodBytesTotal

std::uint64_t senf::SequenceNumberStatistics::goodBytesTotal

Definition at line 74 of file FlowStatistics.hh.

◆ goodTotal

std::uint64_t senf::SequenceNumberStatistics::goodTotal

Definition at line 73 of file FlowStatistics.hh.

◆ late

std::uint32_t senf::SequenceNumberStatistics::late

Definition at line 68 of file FlowStatistics.hh.

◆ lateMax

std::uint32_t senf::SequenceNumberStatistics::lateMax

Definition at line 69 of file FlowStatistics.hh.

◆ lost

std::uint32_t senf::SequenceNumberStatistics::lost

Definition at line 70 of file FlowStatistics.hh.

◆ lostLate

std::uint32_t senf::SequenceNumberStatistics::lostLate

Definition at line 71 of file FlowStatistics.hh.

◆ resyncs

std::uint32_t senf::SequenceNumberStatistics::resyncs

Definition at line 72 of file FlowStatistics.hh.


The documentation for this class was generated from the following file: