mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-27 22:50:19 +00:00
other: Add reference to why we use sysinfo for Windows network detection for now
This commit is contained in:
parent
60d0117c85
commit
7e16475b76
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ impl NetworkHarvest {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Separate Windows implementation required due to https://github.com/heim-rs/heim/issues/26.
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
pub async fn get_network_data(
|
pub async fn get_network_data(
|
||||||
sys: &sysinfo::System, prev_net_access_time: Instant, prev_net_rx: &mut u64,
|
sys: &sysinfo::System, prev_net_access_time: Instant, prev_net_rx: &mut u64,
|
||||||
|
|
Loading…
Reference in a new issue