Skip to content

Commit e19c91a

Browse files
lcnielmikromyra
authored andcommitted
Implement averaging functionality in SlurmCGroup2
1 parent 4f31256 commit e19c91a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sams/sampler/SlurmCGroup2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def sample(self):
4444
"memory_limit": memory_limit,
4545
"memory_max_usage": memory_max_usage,
4646
"memory_swap": str(int(memory_usage_and_swap) - int(memory_usage))}
47-
47+
self.compute_sample_averages(entry)
4848
self._most_recent_sample = [self._storage_wrapping(entry)]
4949
self.store(entry)
5050

0 commit comments

Comments
 (0)