struct tapi_perf_report

Overview

Network throughput test tool report. More…

#include <tapi_performance.h>

struct tapi_perf_report {
    // fields

    uint64_t bytes;
    uint64_t rx_bytes;
    uint64_t tx_bytes;
    double seconds;
    double rx_seconds;
    double tx_seconds;
    double bits_per_second;
    double rx_bits_per_second;
    double tx_bits_per_second;
    size_t zero_intervals;
    double min_bps_per_stream;
    uint64_t retransmits;
    uint64_t udp_packets;
    uint64_t udp_lost_packets;
    double udp_lost_percent;
    uint32_t errors[TAPI_PERF_ERROR_MAX];
};

Detailed Documentation

Network throughput test tool report.

Fields

uint64_t bytes

Number of bytes for iperf2 and backward compatibility

uint64_t rx_bytes

Number of bytes was received

uint64_t tx_bytes

Number of bytes was transmitted

double seconds

Number of seconds was expired during test for iper2 and backward compatibility

double rx_seconds

Number of seconds was expired during receive test

double tx_seconds

Number of seconds was expired during transmit test

double bits_per_second

Throughput for iperf2 and backward compatibility

double rx_bits_per_second

Receive throughput

double tx_bits_per_second

Transmit throughput

size_t zero_intervals

Number of zero intervals

double min_bps_per_stream

Minimal rate observed for any stream at the end of report

uint64_t retransmits

Number of retransmits

uint64_t udp_packets

Number of UDP packets was transmitted

uint64_t udp_lost_packets

Number of UDP packets lost

double udp_lost_percent

UDP packet loss percentage

uint32_t errors[TAPI_PERF_ERROR_MAX]

Errors counters.