Skip to content

Commit

Permalink
Fix MacOS compilation typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceg committed Aug 15, 2023
1 parent 2a888c9 commit 0819473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apple/macos/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl ProcessExt for Process {
}

fn total_accumulated_cpu_usage(&self) -> f32 {
(self.utime + self.stime) as f32
self.old_utime.saturating_add(self.old_stime) as f32
}

fn disk_usage(&self) -> DiskUsage {
Expand Down

0 comments on commit 0819473

Please sign in to comment.