Commit c388d7ec by Josué A

Added required speed attribute to CC_EDF and Static_EDF

parent c4aad1c6
......@@ -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 = []
......
......@@ -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):
......
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