IgH EtherCAT Master  1.5.3
ec_device_stats_t Struct Reference

Device statistics. More...

Data Fields

u64 tx_count
 Number of frames sent. More...
 
u64 last_tx_count
 Number of frames sent of last statistics cycle. More...
 
u64 rx_count
 Number of frames received. More...
 
u64 last_rx_count
 Number of frames received of last statistics cycle. More...
 
u64 tx_bytes
 Number of bytes sent. More...
 
u64 last_tx_bytes
 Number of bytes sent of last statistics cycle. More...
 
u64 rx_bytes
 Number of bytes received. More...
 
u64 last_rx_bytes
 Number of bytes received of last statistics cycle.
 
u64 last_loss
 Tx/Rx difference of last statistics cycle. More...
 
s32 tx_frame_rates [EC_RATE_COUNT]
 Transmit rates in frames/s for different statistics cycle periods.
 
s32 rx_frame_rates [EC_RATE_COUNT]
 Receive rates in frames/s for different statistics cycle periods.
 
s32 tx_byte_rates [EC_RATE_COUNT]
 Transmit rates in byte/s for different statistics cycle periods. More...
 
s32 rx_byte_rates [EC_RATE_COUNT]
 Receive rates in byte/s for different statistics cycle periods. More...
 
s32 loss_rates [EC_RATE_COUNT]
 Frame loss rates for different statistics cycle periods. More...
 
unsigned long jiffies
 Jiffies of last statistic cycle. More...
 

Detailed Description

Device statistics.

Definition at line 155 of file master.h.

Field Documentation

◆ tx_count

u64 ec_device_stats_t::tx_count

Number of frames sent.

Definition at line 156 of file master.h.

◆ last_tx_count

u64 ec_device_stats_t::last_tx_count

Number of frames sent of last statistics cycle.

Definition at line 157 of file master.h.

◆ rx_count

u64 ec_device_stats_t::rx_count

Number of frames received.

Definition at line 158 of file master.h.

◆ last_rx_count

u64 ec_device_stats_t::last_rx_count

Number of frames received of last statistics cycle.

Definition at line 159 of file master.h.

◆ tx_bytes

u64 ec_device_stats_t::tx_bytes

Number of bytes sent.

Definition at line 161 of file master.h.

◆ last_tx_bytes

u64 ec_device_stats_t::last_tx_bytes

Number of bytes sent of last statistics cycle.

Definition at line 162 of file master.h.

◆ rx_bytes

u64 ec_device_stats_t::rx_bytes

Number of bytes received.

Definition at line 163 of file master.h.

◆ last_loss

u64 ec_device_stats_t::last_loss

Tx/Rx difference of last statistics cycle.

Definition at line 166 of file master.h.

◆ tx_byte_rates

s32 ec_device_stats_t::tx_byte_rates[EC_RATE_COUNT]

Transmit rates in byte/s for different statistics cycle periods.

Definition at line 173 of file master.h.

◆ rx_byte_rates

s32 ec_device_stats_t::rx_byte_rates[EC_RATE_COUNT]

Receive rates in byte/s for different statistics cycle periods.

Definition at line 175 of file master.h.

◆ loss_rates

s32 ec_device_stats_t::loss_rates[EC_RATE_COUNT]

Frame loss rates for different statistics cycle periods.

Definition at line 177 of file master.h.

◆ jiffies

unsigned long ec_device_stats_t::jiffies

Jiffies of last statistic cycle.

Definition at line 179 of file master.h.