Go to file
Tatsuhiro Tsujikawa 0ecfa19925 Reworked download/upload statistics calculation
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.
2012-10-25 23:33:45 +09:00
deps Removed trailing spaces 2012-10-01 23:52:22 +09:00
doc Update and fixed some bugs 2012-10-17 10:40:11 +03:00
lib Removed autogenerated files by automake/autoconf. 2010-11-27 23:31:17 +09:00
m4 Check with pkg-config only: c-ares, openssl, sqlite3 and zlib. 2012-04-07 21:30:32 +09:00
po Updated po templates 2012-10-17 21:33:51 +09:00
src Reworked download/upload statistics calculation 2012-10-25 23:33:45 +09:00
test Reworked download/upload statistics calculation 2012-10-25 23:33:45 +09:00
.gitignore Updated .gitignore 2012-10-14 00:15:49 +09:00
AUTHORS Fixed typo 2011-03-20 14:39:36 +09:00
COPYING 2006-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-09-21 15:31:24 +00:00
ChangeLog Added empty ChangeLog. 2010-11-28 00:38:58 +09:00
ChangeLog.old Moved ChangeLog to ChangeLog.old and added notice that we no longer 2010-11-28 00:23:20 +09:00
LICENSE.OpenSSL 2006-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-09-21 15:31:24 +00:00
Makefile.am Distribute android-{config,make} and build_osx_release.sh 2012-07-30 22:56:25 +09:00
NEWS Updated NEWS for 1.15.2 release 2012-09-02 21:15:19 +09:00
README Converted README.asciidoc into README.rst 2012-04-22 23:27:32 +09:00
README.android Added README and release helper script for Android build 2012-06-29 23:54:38 +09:00
README.mingw mingw: Updated dependent library versions. 2012-09-02 18:38:50 +09:00
README.rst Added references 2012-08-03 00:11:36 +09:00
android-config Add -lstdc++ -lsupc++ in configure.ac not in android-config 2012-07-30 21:17:49 +09:00
android-make Merged Android build scripts 2012-06-29 00:51:13 +09:00
android-release cd to the directory where the script exists before creating release 2012-09-02 18:56:31 +09:00
build_osx_release.sh New upstream release 2012-03-14 00:55:32 +09:00
build_test.sh Added build test without libnettle, libgcrypt and openssl. 2012-01-08 00:59:34 +09:00
configure.ac Add -lstdc++ -lsupc++ in configure.ac not in android-config 2012-07-30 21:17:49 +09:00
mingw-build-memo mingw: Added build memo for mingw build 2012-09-02 18:41:10 +09:00
mingw-config Added configure script wrapper for mingw-w64 cross-compiler. 2012-06-27 00:27:14 +09:00
mingw-release cd to the directory where the script exists before creating release 2012-09-02 18:56:31 +09:00
script-helper Added README and release script for mingw build 2012-06-30 00:53:48 +09:00

README

See README.rst