#include <senf/Ext/NetEmu/examples/80211Analyzer/PacketStatistics.hh>
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 } |
Definition at line 52 of file PacketStatistics.hh.
FlowStatistics::FlowStatistics | ( | std::uint8_t | Sbits, |
std::int32_t | SmaxLate, | ||
std::uint8_t | Tbits | ||
) |
Definition at line 83 of file PacketStatistics.cc.
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.
|
virtual |
Reimplemented from PacketStatistics.
Definition at line 90 of file PacketStatistics.cc.
|
virtual |
Reimplemented from PacketStatistics.
Definition at line 109 of file PacketStatistics.cc.
senf::SequenceNumberStatistics FlowStatistics::seqNoStats |
Definition at line 56 of file PacketStatistics.hh.
senf::TimestampStatistics FlowStatistics::tstampStats |
Definition at line 57 of file PacketStatistics.hh.