Skip to content

Commit

Permalink
Fixing issue with number of memory threads
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfsilva authored Sep 4, 2024
1 parent 5727942 commit 782f280
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/wfbench
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,10 @@ def main():
else:
for proc in cpu_procs:
proc.wait()

mem_kill = subprocess.Popen(["killall", "stress-ng"])
mem_kill.wait()

if mem_threads > 0:
mem_kill = subprocess.Popen(["killall", "stress-ng"])
mem_kill.wait()
print("[WfBench] Completed CPU and Memory Benchmarks!\n")

if args.out:
Expand Down

0 comments on commit 782f280

Please sign in to comment.