make ping more smart

This commit is contained in:
sijie.sun
2024-09-21 13:43:15 +08:00
committed by Sijie.Sun
parent 0171fb35a4
commit 06afd221d5
5 changed files with 188 additions and 41 deletions

View File

@@ -48,7 +48,7 @@ impl WindowLatency {
}
}
#[derive(Default)]
#[derive(Default, Copy, Clone)]
pub struct Throughput {
tx_bytes: u64,
rx_bytes: u64,