spd_compute_bandwidth: Compute bandwidth from bytes transferred and time taken

Description Usage Arguments Examples

View source: R/bandwidth.r

Description

Compute bandwidth from bytes transferred and time taken

Usage

1
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

1
spd_compute_bandwidth(19200000, 1) # 150 Mb/sec

hrbrmstr/speedtest documentation built on March 28, 2020, 6:04 p.m.