Docu for deprecated (#1551)

documentation for deprecated members
This commit is contained in:
Falcosc 2017-01-14 18:58:44 +01:00 committed by Arvid Norberg
parent 51aa8e6928
commit 564fbea065
1 changed files with 4 additions and 4 deletions

View File

@ -87,15 +87,15 @@ namespace libtorrent
// the total download and upload rates accumulated
// from all torrents. This includes bittorrent protocol, DHT and an estimated TCP/IP
// protocol overhead.
// deprecated, use session_stats_metrics "net.recv_bytes" and "net.send_bytes"
// they does include payload + protocol bytes but does not include ip protocol bytes
// deprecated, use session_stats_metrics "net.recv_bytes" + "net.recv_ip_overhead_bytes"
// they does include payload + protocol + ip overhead bytes
int upload_rate;
int download_rate;
// the total number of bytes downloaded and
// uploaded to and from all torrents. This also includes all the protocol overhead.
// deprecated, use session_stats_metrics "net.recv_bytes" and "net.send_bytes"
// they does include payload + protocol bytes but does not include ip protocol bytes
// deprecated, use session_stats_metrics "net.recv_bytes" + "net.recv_ip_overhead_bytes"
// they does include payload + protocol + ip overhead bytes
boost::int64_t total_download;
boost::int64_t total_upload;