documentation for deprecated members

This commit is contained in:
Falco 2017-01-13 12:52:57 +00:00 committed by Arvid Norberg
parent 07d45329ea
commit 51aa8e6928
2 changed files with 11 additions and 0 deletions

View File

@ -199,6 +199,7 @@ namespace libtorrent
// the total number of buffers currently in use.
// This includes the read/write disk cache as well as send and receive buffers
// used in peer connections.
// deprecated, use session_stats_metrics "disk.disk_blocks_in_use"
mutable int total_used_buffers;
// the number of microseconds an average disk I/O job
@ -241,6 +242,7 @@ namespace libtorrent
// number of jobs waiting to be issued (m_to_issue)
// average over 30 seconds
// deprecated, use session_stats_metrics "disk.queued_disk_jobs"
int queued_jobs;
// largest ever seen number of queued jobs

View File

@ -87,23 +87,31 @@ 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
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
boost::int64_t total_download;
boost::int64_t total_upload;
// the rate of the payload
// down- and upload only.
// deprecated, use session_stats_metrics "net.recv_payload_bytes"
int payload_upload_rate;
// deprecated, use session_stats_metrics "net.sent_payload_bytes"
int payload_download_rate;
// the total transfers of payload
// only. The payload does not include the bittorrent protocol overhead, but only parts of the
// actual files to be downloaded.
// deprecated, use session_stats_metrics "net.recv_payload_bytes"
boost::int64_t total_payload_download;
// deprecated, use session_stats_metrics "net.sent_payload_bytes"
boost::int64_t total_payload_upload;
// the estimated TCP/IP overhead in each direction.
@ -181,6 +189,7 @@ namespace libtorrent
// ``dht_node_cache`` is set to the number of nodes in the node cache. These nodes
// are used to replace the regular nodes in the routing table in case any of them
// becomes unresponsive.
// deprecated, use session_stats_metrics "dht.dht_nodes" and "dht.dht_nodes_cache"
int dht_nodes;
int dht_node_cache;