| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Reset sessionDownloadLength and sessionUploadLength on download start | Tatsuhiro Tsujikawa | 2019-10-12 | 1 | -0/+2 |
| | | | | | | | | This commit resets sessionDownloadLength and sessionUploadLength when a download restarted (including unpause RPC method). Fixes #1486 | ||||
| * | Use default where possible | Nils Maier | 2016-08-29 | 1 | -1/+1 |
| | | |||||
| * | Remove trailing white spaces | Tatsuhiro Tsujikawa | 2016-03-16 | 1 | -1/+1 |
| | | |||||
| * | Added support for a dynamic management of the number of concurrent downloads ↵ | oliviercommelarbre | 2016-03-16 | 1 | -0/+10 |
| | | | | | as a function of the overall bandwidth observed | ||||
| * | Updating upload size and speed must be done separately | Tatsuhiro Tsujikawa | 2016-01-05 | 1 | -2/+9 |
| | | |||||
| * | make clang-format using clang-format-3.6 | Tatsuhiro Tsujikawa | 2015-12-27 | 1 | -14/+9 |
| | | |||||
| * | Reworked download/upload statistics calculation | Tatsuhiro Tsujikawa | 2012-10-25 | 1 | -0/+126 |
| The old implementation calculates download/upload statistics for a RequestGroup by summing up all PeerStat objects. For global statistics, those are summed together. This clearly incurs runtime penalty and we introduced some kind of caching which updates statistics every 250ms but it did not work right. This change removes all these aggregation code, and instead makes RequestGroup and RequestGroupMan objects hold NetStat object and download/upload bytes are directly calculated by thier own NetStat. This is far more simplar than the old way and less runtime penalty and brings more accuracy. | |||||
