byteblowerll.byteblower.DataRate

class byteblowerll.byteblower.DataRate(inSize, inDuration)

Represents a data rate. The datarate can be expressed in multiple formats.

Example

httpResultData = httpClient.ResultHistoryGet().CumulativeLatestGet()
dataRate = httpResultData.RxByteCountRateGet()
__init__(inSize, inDuration)

Initialize self. See help(type(self)) for accurate signature.

Methods

BitRateGet() Returns the bits per second of the http session
ByteRateGet() Returns the bytes per second of the http session
GbpsGet() Returns the gigabits per second of the http session
KbpsGet() Returns the kilobits per second of the http session
MbpsGet() Returns the megabits per second of the http session
__init__(inSize, inDuration) Initialize self.
bitrate()
byterate()
toString() Returns the bytes per second in a readable string format

Attributes

thisown The membership flag