Better API for stats printing
This commit is contained in:
parent
bec5e1be7f
commit
1bea1f9235
8 changed files with 273 additions and 137 deletions
|
|
@ -14,8 +14,6 @@ pub struct StatsSnapshot {
|
|||
pub initially_needed_bytes: u64,
|
||||
pub remaining_bytes: u64,
|
||||
pub total_bytes: u64,
|
||||
// #[serde(skip)]
|
||||
// pub time: Instant,
|
||||
pub total_piece_download_ms: u64,
|
||||
pub peer_stats: AggregatePeerStats,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue