Vector BLF
Vector::BLF::AfdxStatistic Struct Referencefinal

AFDX_STATISTIC. More...

#include <AfdxStatistic.h>

Inheritance diagram for Vector::BLF::AfdxStatistic:
Vector::BLF::ObjectHeader Vector::BLF::ObjectHeaderBase

Public Types

enum  Flags : WORD {
  ChannelIsConfigured = 0x0001 , HwRelatedCountersValid = 0x0002 , CanWinRelatedCountersAreValid = 0x0004 , LinkRelatedInfoIsValud = 0x0008 ,
  InvalidPacketCounterIsValid = 0x0010 , LostPacketCounterIsValud = 0x0020 , DroppedPacketCounterIsValid = 0x0040 , ByteCountersAreBasedOnCanWinPackets = 0x0080
}
 
- Public Types inherited from Vector::BLF::ObjectHeader
enum  ObjectFlags : DWORD { TimeTenMics = 0x00000001 , TimeOneNans = 0x00000002 }
 

Public Member Functions

void read (AbstractFile &is) override
 
void write (AbstractFile &os) override
 
DWORD calculateObjectSize () const override
 
- Public Member Functions inherited from Vector::BLF::ObjectHeader
 ObjectHeader (const ObjectType objectType, const WORD objectVersion=0)
 
void read (AbstractFile &is) override
 
void write (AbstractFile &os) override
 
WORD calculateHeaderSize () const override
 
DWORD calculateObjectSize () const override
 
- Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
 ObjectHeaderBase (const WORD headerVersion, const ObjectType objectType)
 
 ObjectHeaderBase (const ObjectHeaderBase &)=default
 
ObjectHeaderBaseoperator= (const ObjectHeaderBase &)=default
 
 ObjectHeaderBase (ObjectHeaderBase &&)=default
 
ObjectHeaderBaseoperator= (ObjectHeaderBase &&)=default
 

Public Attributes

WORD channel {}
 application channel More...
 
WORD flags {}
 
ULONG rxPacketCount {}
 
ULONG rxByteCount {}
 
ULONG txPacketCount {}
 
ULONG txByteCount {}
 
ULONG collisionCount {}
 
ULONG errorCount {}
 
ULONG statDroppedRedundantPacketCount {}
 
ULONG statRedundantErrorPacketCount {}
 
ULONG statIntegrityErrorPacketCount {}
 
ULONG statAvrgPeriodMsec {}
 
ULONG statAvrgJitterMysec {}
 
ULONG vlid {}
 
ULONG statDuration {}
 
- Public Attributes inherited from Vector::BLF::ObjectHeader
DWORD objectFlags {ObjectFlags::TimeOneNans}
 object flags More...
 
WORD clientIndex {}
 client index of send node
 
WORD objectVersion {0}
 object specific version More...
 
ULONGLONG objectTimeStamp {}
 object timestamp More...
 
- Public Attributes inherited from Vector::BLF::ObjectHeaderBase
DWORD signature {ObjectSignature}
 signature (ObjectSignature) More...
 
WORD headerSize {}
 sizeof object header More...
 
WORD headerVersion {}
 header version (1) More...
 
DWORD objectSize {}
 object size More...
 
ObjectType objectType {}
 object type More...
 

Detailed Description

AFDX_STATISTIC.

AFDX statistic event per virtual link. AFDX combined bus- and VL- statistic event; used before 8.2

Member Enumeration Documentation

◆ Flags

enumeration for flags

Enumerator
ChannelIsConfigured 

channel is configured

HwRelatedCountersValid 

HW related counters valid

CanWinRelatedCountersAreValid 

CANwin related counters are valid

LinkRelatedInfoIsValud 

link-related info is valid

InvalidPacketCounterIsValid 

invalid packet counter is valid

LostPacketCounterIsValud 

lost packet counter is valid

DroppedPacketCounterIsValid 

dropped packet counter is valid

ByteCountersAreBasedOnCanWinPackets 

byte counters are based on CANwin packets, not HW

Member Function Documentation

◆ calculateObjectSize()

DWORD Vector::BLF::AfdxStatistic::calculateObjectSize ( ) const
overridevirtual

Calculates the objectSize

Returns
object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

◆ read()

void Vector::BLF::AfdxStatistic::read ( AbstractFile is)
overridevirtual

Read the data of this object

Parameters
isinput stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

◆ write()

void Vector::BLF::AfdxStatistic::write ( AbstractFile os)
overridevirtual

Write the data of this object

Parameters
osoutput stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

Member Data Documentation

◆ channel

WORD Vector::BLF::AfdxStatistic::channel {}

application channel

The channel of the frame.

◆ collisionCount

ULONG Vector::BLF::AfdxStatistic::collisionCount {}

Number of collisions since last statistic event.

◆ errorCount

ULONG Vector::BLF::AfdxStatistic::errorCount {}

Number of errors since last statistic event.

◆ flags

WORD Vector::BLF::AfdxStatistic::flags {}

flags

◆ rxByteCount

ULONG Vector::BLF::AfdxStatistic::rxByteCount {}

Number of Rx bytes since last statistic event.

◆ rxPacketCount

ULONG Vector::BLF::AfdxStatistic::rxPacketCount {}

Number of Rx packets since last statistic event.

◆ statAvrgJitterMysec

ULONG Vector::BLF::AfdxStatistic::statAvrgJitterMysec {}

Average jitter of the time period of frames on this VL in [mysec].

◆ statAvrgPeriodMsec

ULONG Vector::BLF::AfdxStatistic::statAvrgPeriodMsec {}

Average period of frames on this VL in [msec].

◆ statDroppedRedundantPacketCount

ULONG Vector::BLF::AfdxStatistic::statDroppedRedundantPacketCount {}

Number of dropped packet due to redundancy check since last statistic event.

◆ statDuration

ULONG Vector::BLF::AfdxStatistic::statDuration {}

Time period covered by this event in [msec].

◆ statIntegrityErrorPacketCount

ULONG Vector::BLF::AfdxStatistic::statIntegrityErrorPacketCount {}

Number of errors found at integrity check since last statistic event.

◆ statRedundantErrorPacketCount

ULONG Vector::BLF::AfdxStatistic::statRedundantErrorPacketCount {}

Number of errors found at redundancy check since last statistic event.

◆ txByteCount

ULONG Vector::BLF::AfdxStatistic::txByteCount {}

Number of Tx bytes since last statistic event.

◆ txPacketCount

ULONG Vector::BLF::AfdxStatistic::txPacketCount {}

Number of Tx packets since last statistic event.

◆ vlid

ULONG Vector::BLF::AfdxStatistic::vlid {}

Unique ID assigned to this VL.


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