diff options
Diffstat (limited to 'Input/ICNConnectionConsumerApi.cpp')
-rw-r--r-- | Input/ICNConnectionConsumerApi.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Input/ICNConnectionConsumerApi.cpp b/Input/ICNConnectionConsumerApi.cpp index d5048cba..e6715e68 100644 --- a/Input/ICNConnectionConsumerApi.cpp +++ b/Input/ICNConnectionConsumerApi.cpp @@ -182,6 +182,12 @@ void ICNConnectionConsumerApi::notifyStats(double winSize) Debug("ICNConnection:\tNotificationICPDL\t%f\t%f\n", winSize, speed); } +void ICNConnectionConsumerApi::notifyDownloadTime(double downloadingTime) +{ + //downloadingTime is in microseconds, dnltime should be in seconds + this->dnltime = downloadingTime / 1000000; +} + void ICNConnectionConsumerApi::SetBeta(float beta) { this->beta = beta; |