<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aria2/src/DefaultBtProgressInfoFile.cc, branch libaria2</title>
<subtitle>Aria2 download utility with uTP support</subtitle>
<id>http://x-nagi.com/cgit/aria2/atom?h=libaria2</id>
<link rel='self' href='http://x-nagi.com/cgit/aria2/atom?h=libaria2'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/'/>
<updated>2012-10-25T14:33:45Z</updated>
<entry>
<title>Reworked download/upload statistics calculation</title>
<updated>2012-10-25T14:33:45Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-10-25T14:33:45Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=0ecfa19925453e3e4bf8ca947dc72a597654e401'/>
<id>urn:sha1:0ecfa19925453e3e4bf8ca947dc72a597654e401</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Removed trailing spaces</title>
<updated>2012-10-01T14:52:22Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-10-01T14:52:22Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=8b0c701266a56c5ccc7c4ea6b605a9e0c9ef823d'/>
<id>urn:sha1:8b0c701266a56c5ccc7c4ea6b605a9e0c9ef823d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed *Handle typedef</title>
<updated>2012-09-28T14:27:46Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-09-28T14:27:46Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=3258614033aaf8288dc4b14275c72a1bb3b65a7e'/>
<id>urn:sha1:3258614033aaf8288dc4b14275c72a1bb3b65a7e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Code cleanup</title>
<updated>2012-09-25T14:48:35Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-09-25T14:48:35Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=c522d79d898d4a47b682dcc8de0cf82996abb502'/>
<id>urn:sha1:c522d79d898d4a47b682dcc8de0cf82996abb502</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Made BufferedFile ctor take const char* args</title>
<updated>2012-09-25T14:44:41Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-09-25T14:44:41Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=f133091a9ec127bf923d224007e31583f1b1115f'/>
<id>urn:sha1:f133091a9ec127bf923d224007e31583f1b1115f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed static_cast&lt;int64&gt;()s where they are unnecessary</title>
<updated>2012-06-25T14:44:52Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-06-25T14:44:52Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=16d395779a1cc56f559dd3132d4fd30dfd7d9cc6'/>
<id>urn:sha1:16d395779a1cc56f559dd3132d4fd30dfd7d9cc6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use PRId64 for int64_t format specifier</title>
<updated>2012-06-25T13:43:33Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-06-25T13:43:33Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=4b03634f36b05c32737aeea8ca178f53f68052e8'/>
<id>urn:sha1:4b03634f36b05c32737aeea8ca178f53f68052e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed clang warning and errors.</title>
<updated>2012-02-29T15:02:29Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-02-29T15:02:29Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=e73c3c53ffb9ce681fe712142143777eaf50da47'/>
<id>urn:sha1:e73c3c53ffb9ce681fe712142143777eaf50da47</id>
<content type='text'>
Test for the zero-length array with A2_ARRAY_LEN was commented out
since it is only used in unit test code and clang and old gcc 3.4.3
emit error.
</content>
</entry>
<entry>
<title>Use int32_t for piece length instead of size_t</title>
<updated>2011-12-09T12:39:43Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2011-12-07T15:03:25Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=9d15d732edd512a3ff03147da459feaddde511fe'/>
<id>urn:sha1:9d15d732edd512a3ff03147da459feaddde511fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replaced uint64_t with off_t or int64_t.</title>
<updated>2011-12-09T12:39:43Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2011-12-07T13:57:34Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=12988e5282ef52a2806cbaca9f4074698f35e399'/>
<id>urn:sha1:12988e5282ef52a2806cbaca9f4074698f35e399</id>
<content type='text'>
Since off_t is int64_t with LFS, we cannot take advantage of extra
capacity of uint64_t.
</content>
</entry>
</feed>
