diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-04-08 16:42:43 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-04-08 16:42:43 -0400 |
commit | 40df618c33f56fcdcbc9afc1f4b963e7dfe23a10 (patch) | |
tree | 2a58d482d3fdf8d8dcdd1aaa3ecd9def7a803a09 /gen/edf_generators.py | |
parent | 2ddd4b06389b7dde8c8fbb43b19b23fde5c40b22 (diff) |
Create generator map in gen/__init__.py.
Diffstat (limited to 'gen/edf_generators.py')
-rw-r--r-- | gen/edf_generators.py | 8 |
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 | ||
10 | class EdfGenerator(gen.Generator): | 10 | class 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 | ||
47 | class PartitionedGenerator(EdfGenerator): | 47 | class 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): |