Skip to content

Commit

Permalink
trait: Update to use new refresh_cpu_usage
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Sep 8, 2023
1 parent 6dc9926 commit b361e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ pub trait SystemExt: Sized + Debug + Default + Send + Sync {
/// ```
fn refresh_system(&mut self) {
self.refresh_memory();
self.refresh_cpu();
self.refresh_cpu_usage();
self.refresh_components();
}

Expand Down

0 comments on commit b361e3e

Please sign in to comment.