IPerf_UpdateBandwidth()

Calculation of the bandwidth and update of test statistics.

Files

iperf.h/iperf.c

Prototype

void  IPerf_UpdateBandwidth (IPERF_TEST   *p_test,
                             IPERF_TS_MS  *p_ts_ms_prev,
                             CPU_INT32U   *p_data_bytes_prev)

Arguments

p_test      

Pointer to a test,

p_ts_ms_prev            

Pointer to variable that contains the previous timestamps and that will be updated with the current timestamp.

p_data_bytes_prev            

Pointer to variable that contains the amount of bytes transferred and that will be updated with the current amount of bytes transferred.

Returned Values

none.

Required Configuration

Module Configuration

Notes / Warnings

none.

Example Usage

none.