Ginan
Loading...
Searching...
No Matches
PacketStatistics Struct Reference
Inheritance diagram for PacketStatistics:
Collaboration diagram for PacketStatistics:

Public Member Functions

void printPacketStatistics (Trace &trace)
 
void checksumFailure (string id="")
 
void checksumSuccess (unsigned int crcRead=0)
 
void nonFrameByteFound (unsigned char c)
 
void preambleFound ()
 
void frameDecoded ()
 

Data Fields

long int numPreambleFound = 0
 
long int numFramesFailedCRC = 0
 
long int numFramesPassCRC = 0
 
long int numFramesDecoded = 0
 
long int numNonMessBytes = 0
 
long int numMessagesLatency = 0
 
double totalLatency = 0
 

Member Function Documentation

◆ checksumFailure()

void PacketStatistics::checksumFailure ( string id = "")
inline
Here is the caller graph for this function:

◆ checksumSuccess()

void PacketStatistics::checksumSuccess ( unsigned int crcRead = 0)
inline
Here is the caller graph for this function:

◆ frameDecoded()

void PacketStatistics::frameDecoded ( )
inline
Here is the caller graph for this function:

◆ nonFrameByteFound()

void PacketStatistics::nonFrameByteFound ( unsigned char c)
inline
Here is the caller graph for this function:

◆ preambleFound()

void PacketStatistics::preambleFound ( )
inline
Here is the caller graph for this function:

◆ printPacketStatistics()

void PacketStatistics::printPacketStatistics ( Trace & trace)
inline

Field Documentation

◆ numFramesDecoded

long int PacketStatistics::numFramesDecoded = 0

◆ numFramesFailedCRC

long int PacketStatistics::numFramesFailedCRC = 0

◆ numFramesPassCRC

long int PacketStatistics::numFramesPassCRC = 0

◆ numMessagesLatency

long int PacketStatistics::numMessagesLatency = 0

◆ numNonMessBytes

long int PacketStatistics::numNonMessBytes = 0

◆ numPreambleFound

long int PacketStatistics::numPreambleFound = 0

◆ totalLatency

double PacketStatistics::totalLatency = 0

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