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

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

Open
kwalker-git opened this issue Sep 18, 2017 · 1 comment

Comments

@kwalker-git
Copy link

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);

@YodaEmbedding
Copy link

See #14

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants