Poor mans speed computation

This commit is contained in:
Igor Katson 2021-06-30 10:31:30 +01:00
parent a3e84e4a99
commit 32f2ea4953
2 changed files with 44 additions and 4 deletions

View file

@ -146,7 +146,7 @@ pub struct TorrentStateLocked {
pub chunks: ChunkTracker,
}
#[derive(Default)]
#[derive(Default, Debug)]
pub struct AtomicStats {
pub have: AtomicU64,
pub downloaded_and_checked: AtomicU64,