From e14edc934f061b47789db76a2bff72f75ff9d95f Mon Sep 17 00:00:00 2001 From: Tobias Langer Date: Mon, 21 Nov 2016 13:41:07 +0100 Subject: [PATCH] Fixed check which generated tasks with to high utilization. --- tasksetgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasksetgen.py b/tasksetgen.py index d0d7101..4768b83 100755 --- a/tasksetgen.py +++ b/tasksetgen.py @@ -199,7 +199,7 @@ def main(): while taskset_util < utility[1]: taskset.append(create_task(distribution)) taskset_util = calc_utilization(taskset) - if taskset_util >= utility[0]: + if utility[0] <= taskset_util <= utility[1]: if len(taskset) >= args.cores + 1: tasksets.append(taskset) -- libgit2 0.26.0