Commit a726d4c4 by Tobias Langer

Fixed error - tasklist was not copied, but referenced.

parent 34a15c3d
...@@ -21,6 +21,7 @@ import random ...@@ -21,6 +21,7 @@ import random
import argparse import argparse
import json import json
import math import math
import copy
from enum import Enum from enum import Enum
def query_yes_no(question, default=None): def query_yes_no(question, default=None):
...@@ -202,6 +203,7 @@ def main(): ...@@ -202,6 +203,7 @@ def main():
if utility[0] <= taskset_util <= utility[1]: if utility[0] <= taskset_util <= utility[1]:
if len(taskset) >= args.cores + 1: if len(taskset) >= args.cores + 1:
tasksets.append(taskset) tasksets.append(taskset)
taskset = copy.deepcopy(taskset)
now = datetime.datetime.now() now = datetime.datetime.now()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment