aboutsummaryrefslogtreecommitdiffstats
path: root/gen/edf_generators.py
diff options
context:
space:
mode:
Diffstat (limited to 'gen/edf_generators.py')
-rw-r--r--gen/edf_generators.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gen/edf_generators.py b/gen/edf_generators.py
index 78b0ba1..3f05b76 100644
--- a/gen/edf_generators.py
+++ b/gen/edf_generators.py
@@ -9,8 +9,8 @@ TP_PART_TASK = TP_TBASE.format("-p $t.cpu")
9 9
10class EdfGenerator(gen.Generator): 10class EdfGenerator(gen.Generator):
11 '''Creates sporadic task sets with the most common Litmus options.''' 11 '''Creates sporadic task sets with the most common Litmus options.'''
12 def __init__(self, name, templates, options, params): 12 def __init__(self, scheduler, templates, options, params):
13 super(EdfGenerator, self).__init__(name, templates, 13 super(EdfGenerator, self).__init__(scheduler, templates,
14 self.__make_options() + options, 14 self.__make_options() + options,
15 params) 15 params)
16 16
@@ -45,8 +45,8 @@ class EdfGenerator(gen.Generator):
45 45
46 46
47class PartitionedGenerator(EdfGenerator): 47class PartitionedGenerator(EdfGenerator):
48 def __init__(self, name, templates, options, params): 48 def __init__(self, scheduler, templates, options, params):
49 super(PartitionedGenerator, self).__init__(name, 49 super(PartitionedGenerator, self).__init__(scheduler,
50 templates + [TP_PART_TASK], options, params) 50 templates + [TP_PART_TASK], options, params)
51 51
52 def _customize(self, taskset, exp_params): 52 def _customize(self, taskset, exp_params):