---
name: "Vector_BLF_AfdxBusStatistic"
section: "3"
platform: "linux"
package: "vector-blf"
version: "2.4.2-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Vector_BLF_AfdxBusStatistic"
---

# Vector\_BLF\_AfdxBusStatistic(3)

AFDX\_BUS\_STATISTIC.

## NAME

Vector::BLF::AfdxBusStatistic - AFDX\_BUS\_STATISTIC.

## SYNOPSIS

\#include \<AfdxBusStatistic.h\>

Inherits **Vector::BLF::ObjectHeader**.

### Public Member Functions

void **read** (**AbstractFile** &is) override\
 void **write** (**AbstractFile** &os) override\
 uint32\_t **calculateObjectSize** () const override\

Public Member Functions inherited from **Vector::BLF::ObjectHeader** **ObjectHeader** (const ObjectType **objectType**, const uint16\_t **objectVersion**=0)\
 void **read** (**AbstractFile** &is) override\
 void **write** (**AbstractFile** &os) override\
 uint16\_t **calculateHeaderSize** () const override\
 uint32\_t **calculateObjectSize** () const override\

Public Member Functions inherited from **Vector::BLF::ObjectHeaderBase** **ObjectHeaderBase** (const uint16\_t **headerVersion**, const ObjectType **objectType**)\
 **ObjectHeaderBase** (const ObjectHeaderBase &)=default\
 ObjectHeaderBase & **operator=** (const ObjectHeaderBase &)=default\
 **ObjectHeaderBase** (ObjectHeaderBase &&)=default\
 ObjectHeaderBase & **operator=** (ObjectHeaderBase &&)=default\

### Public Attributes

uint16\_t **channel** {}\
 application channel  uint16\_t **flags** {}\
 Bit0=Valid Rx/Tx Counter, Bit1=Valid Error Counter; Bit2=Valid VLId.  uint32\_t **statDuration** {}\
 real time period in mysec of statistic datacollection  uint32\_t **statRxPacketCountHW** {}\
 read frames taken from hardware, i.e. on bus  uint32\_t **statTxPacketCountHW** {}\
 send frames as taken from hardware, i.e. on bus  uint32\_t **statRxErrorCountHW** {}\
 number of erronous Rx-frames detected by HW  uint32\_t **statTxErrorCountHW** {}\
 number of erronous Tx-frames detected by HW  uint32\_t **statRxBytesHW** {}\
 bytes received by HW during this time period  uint32\_t **statTxBytesHW** {}\
 bytes sent by HW during this time period  uint32\_t **statRxPacketCount** {}\
 received frames within CANwin  uint32\_t **statTxPacketCount** {}\
 send packets from within CANwin  uint32\_t **statDroppedPacketCount** {}\
 number of packets aktively dropped by CANwin  uint32\_t **statInvalidPacketCount** {}\
 number of packets with incompatible eth-header regarding AFDX-spec  uint32\_t **statLostPacketCount** {}\
 number of packets lost by CABwin due to queue overflow etc  uint8\_t **line** {}\
 lineA (0) or lineB (1)  uint8\_t **linkStatus** {}\
 status of adapter as per **EthernetStatus**  uint16\_t **linkSpeed** {}\
 link speed: 0:=10mbps 1:=100mbps 2:=1000mbps  uint16\_t **linkLost** {}\
 counter of link-losses during this period  uint16\_t **reservedAfdxBusStatistic1** {}\
 uint32\_t **reservedAfdxBusStatistic2** {}\

Public Attributes inherited from **Vector::BLF::ObjectHeader** uint32\_t **objectFlags** {**ObjectFlags::TimeOneNans**}\
 object flags  uint16\_t **clientIndex** {}\
 client index of send node  uint16\_t **objectVersion** {0}\
 object specific version  uint64\_t **objectTimeStamp** {}\
 object timestamp

Public Attributes inherited from **Vector::BLF::ObjectHeaderBase** uint32\_t **signature** {ObjectSignature}\
 signature (ObjectSignature)  uint16\_t **headerSize** {}\
 sizeof object header  uint16\_t **headerVersion** {}\
 header version (1)  uint32\_t **objectSize** {}\
 object size  ObjectType **objectType** {ObjectType::UNKNOWN}\
 object type

### Additional Inherited Members

Public Types inherited from **Vector::BLF::ObjectHeader** enum **ObjectFlags** : uint32\_t { **TimeTenMics** = 0x00000001, **TimeOneNans** = 0x00000002 }\

## Detailed Description

AFDX\_BUS\_STATISTIC.

AFDX line-specific bus-statistic event used since 8.2

## Member Function Documentation

### uint32\_t Vector::BLF::AfdxBusStatistic::calculateObjectSize () const \[override\], \[virtual\]

Calculates the objectSize

**Returns**

object size

Reimplemented from **Vector::BLF::ObjectHeaderBase**.

### void Vector::BLF::AfdxBusStatistic::read (AbstractFile & is) \[override\], \[virtual\]

Read the data of this object

**Parameters**

*is* input stream

Reimplemented from **Vector::BLF::ObjectHeaderBase**.

### void Vector::BLF::AfdxBusStatistic::write (AbstractFile & os) \[override\], \[virtual\]

Write the data of this object

**Parameters**

*os* output stream

Reimplemented from **Vector::BLF::ObjectHeaderBase**.

## Member Data Documentation

### uint16\_t Vector::BLF::AfdxBusStatistic::reservedAfdxBusStatistic1 {}

reserved

### uint32\_t Vector::BLF::AfdxBusStatistic::reservedAfdxBusStatistic2 {}

reserved

## Author

Generated automatically by Doxygen for Vector BLF from the source code.
