forked from premiere/premiere-libtorrent
log max queue size and low watermark
This commit is contained in:
parent
68c3faaad1
commit
a6745558e7
|
@ -54,7 +54,7 @@ gen_report('peer_dl_rates', ['peers down 0', 'peers down 0-2', 'peers down 2-5',
|
|||
gen_report('peer_dl_rates2', ['peers down 0-2', 'peers down 2-5', 'peers down 5-10', 'peers down 50-100', 'peers down 100-'])
|
||||
gen_report('peer_ul_rates', ['peers up 0', 'peers up 0-2', 'peers up 2-5', 'peers up 5-10', 'peers up 50-100', 'peers up 100-'])
|
||||
gen_report('peer_ul_rates2', ['peers up 0-2', 'peers up 2-5', 'peers up 5-10', 'peers up 50-100', 'peers up 100-'])
|
||||
gen_report('disk', ['disk write queued bytes', 'disk block buffers'])
|
||||
gen_report('disk', ['disk write queued bytes', 'disk queue limit', 'disk queue low watermark'])
|
||||
gen_report('peers_upload', ['peers up interested', 'peers up unchoked', 'peers up requests', 'peers disk-up', 'peers bw-up'])
|
||||
gen_report('peers_download', ['peers down interesting', 'peers down unchoked', 'peers down requests', 'peers disk-down', 'peers bw-down'])
|
||||
gen_report('peer_errors', ['error peers', 'peer disconnects', 'peers eof', 'peers connection reset', 'connect timeouts', 'uninteresting peers disconnect', 'banned for hash failure'])
|
||||
|
|
|
@ -957,6 +957,8 @@ namespace aux {
|
|||
":cache size"
|
||||
":max connections"
|
||||
":connect candidates"
|
||||
":disk queue limit"
|
||||
":disk queue low watermark"
|
||||
"\n\n", m_stats_logger);
|
||||
}
|
||||
#endif
|
||||
|
@ -2731,7 +2733,7 @@ namespace aux {
|
|||
"%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t"
|
||||
"%f\t%f\t%f\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t"
|
||||
"%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t"
|
||||
"%d\t%d\t%d\t%d\t%d\t%d\n"
|
||||
"%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\n"
|
||||
, total_milliseconds(now - m_last_log_rotation) / 1000.f
|
||||
, int(m_stat.total_upload() - m_last_uploaded)
|
||||
, int(m_stat.total_download() - m_last_downloaded)
|
||||
|
@ -2818,6 +2820,8 @@ namespace aux {
|
|||
, m_settings.cache_size
|
||||
, m_settings.connections_limit
|
||||
, connect_candidates
|
||||
, int(m_settings.max_queued_disk_bytes)
|
||||
, int(m_settings.max_queued_disk_bytes_low_watermark)
|
||||
);
|
||||
m_last_cache_status = cs;
|
||||
m_last_failed = m_total_failed_bytes;
|
||||
|
|
Loading…
Reference in New Issue