diff --git a/simso/schedulers/CC_EDF.py b/simso/schedulers/CC_EDF.py index a3c35f8..1294cc3 100644 --- a/simso/schedulers/CC_EDF.py +++ b/simso/schedulers/CC_EDF.py @@ -4,7 +4,11 @@ Cycle-Conserving EDF. A DVFS variant of EDF (uniprocessor). from simso.core import Scheduler from simso.schedulers import scheduler -@scheduler("simso.schedulers.CC_EDF") +@scheduler("simso.schedulers.CC_EDF", + required_proc_fields = [ + { 'name': 'speed', 'type': 'float', 'default': '1.0' } + ] +) class CC_EDF(Scheduler): def init(self): self.ready_list = [] diff --git a/simso/schedulers/Static_EDF.py b/simso/schedulers/Static_EDF.py index d891b50..764604d 100644 --- a/simso/schedulers/Static_EDF.py +++ b/simso/schedulers/Static_EDF.py @@ -6,7 +6,7 @@ from simso.schedulers import scheduler @scheduler("simso.schedulers.Static_EDF", required_proc_fields = [ - { 'name': 'priority', 'type': 'float', 'default': '1.0' } + { 'name': 'speed', 'type': 'float', 'default': '1.0' } ] ) class Static_EDF(Scheduler):