Skip to content

Commit

Permalink
fix minor namning sisue
Browse files Browse the repository at this point in the history
  • Loading branch information
lcniel committed Jun 17, 2024
1 parent 69cbbd9 commit 5cbd388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sams/sampler/Software.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ def sample(self) -> None:
self.previous_sample_time = time.time()
return
time_diff = time.time() - self.previous_sample_time
previous_user = self.previous_sample['total']['user']
previous_system = self.previous_sample['total']['system']
previous_user = self.previous_total['user']
previous_system = self.previous_total['system']
if time_diff > self.sampler_interval / 2:
sample = dict(current=dict(
software=self.map_software(aggr),
Expand Down

0 comments on commit 5cbd388

Please sign in to comment.