Compute bandwidth from bytes transferred and time taken

spd_compute_bandwidth(size_bytes, xfer_secs, mbits = TRUE)

Arguments

size_bytes

size (in bytes) of the payload transferred

xfer_secs

time taken for the transfer

mbits

produce output in megabits (Mb)? Default: TRUE

Examples

# NOT RUN {
spd_compute_bandwidth(19200000, 1) # 150 Mb/sec
# }