Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

ConnectionClassManager.getDownloadKBitsPerSecond() returns bits/second instead? #36

@kwalker-git

Description

@kwalker-git

ConnectionClassManager.getDownloadKBitsPerSecond() returns ExponentialGeometricAverage.getAverage(). Each measurement used to determine the average is converted to bits per second by ConnectionClassManager.addBandwidth(). So is getDownloadKBitsPerSecond() misnamed?

ConnectionClassManager.addBandwidth() -
double bandwidth = (bytes) * 1.0 / (timeInMs) * BYTES_TO_BITS;
mDownloadBandwidth.addMeasurement(bandwidth);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions