diff options
| author | oliviercommelarbre <oliviercommelarbre@gmail.com> | 2016-02-11 00:04:49 +0100 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-03-16 21:22:49 +0900 |
| commit | 9e05371fb6a70d7d5e9d49db31b879e79c1b56e7 (patch) | |
| tree | de5e25d3a5b89c932f897e6c4905ba7b507337ec /src/SpeedCalc.h | |
| parent | f0f1b8ef47c391550ff99982f1cad3dd4e1d410d (diff) | |
Added support for a dynamic management of the number of concurrent downloads as a function of the overall bandwidth observed
Diffstat (limited to 'src/SpeedCalc.h')
| -rw-r--r-- | src/SpeedCalc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SpeedCalc.h b/src/SpeedCalc.h index 25eb8c6f..99f4fb00 100644 --- a/src/SpeedCalc.h +++ b/src/SpeedCalc.h @@ -61,6 +61,8 @@ public: */ int calculateSpeed(); + int calculateNewestSpeed(int seconds); + int getMaxSpeed() const { return maxSpeed_; } int calculateAvgSpeed() const; |
