Commit 193fa296 by Tobias Langer

Fixed taskset generation.

parent dd0d71a4
......@@ -196,11 +196,11 @@ def main():
tasksets.append(taskset)
else:
taskset_util = calc_utilization(taskset)
while taskset_util < utility[0] and taskset_util < utility[1]:
while taskset_util < utility[1]:
taskset.append(create_task(distribution))
if taskset_util < utility[1]:
if len(taskset) >= args.cores + 1:
tasksets.append(taskset)
if taskset_util >= utility[0]:
if len(taskset) >= args.cores + 1:
tasksets.append(taskset)
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