added peak rates to peer_info

This commit is contained in:
Arvid Norberg
2008-04-03 06:11:21 +00:00
parent 77f9278a36
commit 0fcb204128
4 changed files with 31 additions and 0 deletions

View File

@@ -2365,6 +2365,10 @@ It contains the following fields::
int receive_quota;
int rtt;
int download_rate_peak;
int upload_rate_peak;
};
The ``flags`` attribute tells you in which state the peer is. It is set to
@@ -2567,6 +2571,9 @@ from the bandwidth manager.
``rtt`` is an estimated round trip time to this peer, in milliseconds. It is
estimated by timing the the tcp ``connect()``. It may be 0 for incoming connections.
``download_rate_peak`` and ``upload_rate_peak`` are the highest download and upload
rates seen on this connection. They are given in bytes per second. This number is
reset to 0 on reconnect.
session_settings
================