stronger low-pass filter for iops reporting

This commit is contained in:
Arvid Norberg 2011-07-04 05:52:15 +00:00
parent ea535bca2b
commit bf9d864dd2
1 changed files with 2 additions and 2 deletions

View File

@ -933,8 +933,8 @@ namespace libtorrent
int m_num_banned_peers; int m_num_banned_peers;
int m_banned_for_hash_failure; int m_banned_for_hash_failure;
vm_statistics_data_t m_last_vm_stat; vm_statistics_data_t m_last_vm_stat;
sliding_average<5> m_read_ops; sliding_average<20> m_read_ops;
sliding_average<5> m_write_ops;; sliding_average<20> m_write_ops;;
#endif #endif
// each second tick the timer takes a little // each second tick the timer takes a little