#include <senf/Ext/NetEmu/examples/80211Analyzer/PacketStatistics.hh>

Inheritance diagram for FlowStatistics:

Public Member Functions

 FlowStatistics (std::uint8_t Sbits, std::int32_t SmaxLate, std::uint8_t Tbits)
 
void clear ()
 
bool analyze (senf::AnnotationsPacket const &ap, std::uint16_t payloadSize, std::uint32_t seqNo, std::uint32_t txTSamp, std::uint32_t rxTStamp)
 
void dump (std::ostream &os, senf::ClockService::clock_type const &actualDuration, bool csv)
 
- Public Member Functions inherited from PacketStatistics
 PacketStatistics ()
 
bool analyze (senf::AnnotationsPacket const &ap, std::uint16_t payloadSize)
 

Public Attributes

senf::SequenceNumberStatistics seqNoStats
 
senf::TimestampStatistics tstampStats
 
- Public Attributes inherited from PacketStatistics
Accumulator rssi
 
Accumulator rate
 
Accumulator length
 
std::uint64_t retries
 
std::uint64_t aggregated
 
senf::ClockService::clock_type airtime
 

Additional Inherited Members

- Public Types inherited from PacketStatistics
enum  Type {
  RECEIVED, CORRUPT, DATA, CTRL,
  MNGT, OTHER, IPERF, MGEN,
  TIM
}
 

Detailed Description

Definition at line 52 of file PacketStatistics.hh.

Constructor & Destructor Documentation

◆ FlowStatistics()

FlowStatistics::FlowStatistics ( std::uint8_t  Sbits,
std::int32_t  SmaxLate,
std::uint8_t  Tbits 
)

Definition at line 83 of file PacketStatistics.cc.

Member Function Documentation

◆ analyze()

bool FlowStatistics::analyze ( senf::AnnotationsPacket const &  ap,
std::uint16_t  payloadSize,
std::uint32_t  seqNo,
std::uint32_t  txTSamp,
std::uint32_t  rxTStamp 
)

Definition at line 98 of file PacketStatistics.cc.

◆ clear()

void FlowStatistics::clear ( )
virtual

Reimplemented from PacketStatistics.

Definition at line 90 of file PacketStatistics.cc.

◆ dump()

void FlowStatistics::dump ( std::ostream &  os,
senf::ClockService::clock_type const &  actualDuration,
bool  csv 
)
virtual

Reimplemented from PacketStatistics.

Definition at line 109 of file PacketStatistics.cc.

Member Data Documentation

◆ seqNoStats

senf::SequenceNumberStatistics FlowStatistics::seqNoStats

Definition at line 56 of file PacketStatistics.hh.

◆ tstampStats

senf::TimestampStatistics FlowStatistics::tstampStats

Definition at line 57 of file PacketStatistics.hh.


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