Commit e14edc93 by Tobias Langer

Fixed check which generated tasks with to high utilization.

parent 94de1a48
...@@ -199,7 +199,7 @@ def main(): ...@@ -199,7 +199,7 @@ def main():
while taskset_util < utility[1]: while taskset_util < utility[1]:
taskset.append(create_task(distribution)) taskset.append(create_task(distribution))
taskset_util = calc_utilization(taskset) taskset_util = calc_utilization(taskset)
if taskset_util >= utility[0]: 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)
......
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