Added the changes for SpeedCalc class.

This commit is contained in:
Tatsuhiro Tsujikawa 2008-07-20 07:45:26 +00:00
parent f242a1ec8f
commit 52979168f3

View File

@ -3,6 +3,7 @@
Cache last calculated average download/upload speed.
PeerStat::getAvgDownloadSpeed(), PeerStat::getAvgUploadSpeed() return
cached value.
Now SpeedCalc::changeSw() is called from SpeedCalc::calculateSpeed()
* src/PeerStat.h
* src/SpeedCalc.cc
* src/SpeedCalc.h