diff options
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/data_collection/processes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/data_collection/processes.rs b/src/app/data_collection/processes.rs index b1d495bf..85ce5a61 100644 --- a/src/app/data_collection/processes.rs +++ b/src/app/data_collection/processes.rs @@ -97,7 +97,7 @@ fn get_ordering<T : std::cmp::PartialOrd>(a_val : T, b_val : T, reverse_order : async fn non_linux_cpu_usage(process : heim::process::Process) -> heim::process::ProcessResult<(heim::process::Process, heim_common::units::Ratio)> { let usage_1 = process.cpu_usage().await?; - futures_timer::Delay::new(std::time::Duration::from_millis(100)).await?; + futures_timer::Delay::new(std::time::Duration::from_millis(100)).await?; // TODO: For windows, make it like the linux check let usage_2 = process.cpu_usage().await?; Ok((process, usage_2 - usage_1)) |