From 9e05371fb6a70d7d5e9d49db31b879e79c1b56e7 Mon Sep 17 00:00:00 2001 From: oliviercommelarbre Date: Thu, 11 Feb 2016 00:04:49 +0100 Subject: Added support for a dynamic management of the number of concurrent downloads as a function of the overall bandwidth observed --- src/SpeedCalc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/SpeedCalc.h') 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; -- cgit