Skip to content

Commit 5f08fef

Browse files
authored
Update Software.py
1 parent 2a2649e commit 5f08fef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sams/sampler/Software.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ def sample(self):
215215
"total_user": total["user"],
216216
"total_system": total["system"],
217217
"user": (total["user"] - self.last_total["user"])
218-
/ self.sampler_interval,
218+
/ time_diff,
219219
"system": (total["system"] - self.last_total["system"])
220-
/ self.sampler_interval,
220+
/ time_diff,
221221
}
222222
}
223223
self.compute_sample_averages(entry["current"])

0 commit comments

Comments
 (0)