senf::TimestampStatistics Struct Reference

#include <senf/Utils/FlowStatistics.hh>

Inheritance diagram for senf::TimestampStatistics:

Public Member Functions

 TimestampStatistics (std::uint8_t bits)
 
virtual ~TimestampStatistics ()
 
virtual void clear ()
 
virtual void reset ()
 
void update (std::uint32_t txTStamp, std::uint32_t rxTStamp, bool updateDelay)
 
- 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

StatisticAccumulator< std::int32_t > delay
 
StatisticAccumulator< std::uint32_t > pdv
 
std::int32_t lastPD_
 

Detailed Description

Definition at line 82 of file FlowStatistics.hh.

Constructor & Destructor Documentation

◆ TimestampStatistics()

senf::TimestampStatistics::TimestampStatistics ( std::uint8_t  bits)

◆ ~TimestampStatistics()

virtual senf::TimestampStatistics::~TimestampStatistics ( )
inlinevirtual

Definition at line 87 of file FlowStatistics.hh.

Member Function Documentation

◆ clear()

virtual void senf::TimestampStatistics::clear ( )
virtual

◆ reset()

virtual void senf::TimestampStatistics::reset ( )
virtual

◆ update()

void senf::TimestampStatistics::update ( std::uint32_t  txTStamp,
std::uint32_t  rxTStamp,
bool  updateDelay 
)

Member Data Documentation

◆ delay

StatisticAccumulator<std::int32_t> senf::TimestampStatistics::delay

Definition at line 95 of file FlowStatistics.hh.

◆ lastPD_

std::int32_t senf::TimestampStatistics::lastPD_

Definition at line 98 of file FlowStatistics.hh.

◆ pdv

StatisticAccumulator<std::uint32_t> senf::TimestampStatistics::pdv

Definition at line 96 of file FlowStatistics.hh.


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