Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
las3_pub
/
simso
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c388d7ec
authored
Jul 09, 2015
by
Josué A
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added required speed attribute to CC_EDF and Static_EDF
parent
c4aad1c6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
simso/schedulers/CC_EDF.py
+5
-1
simso/schedulers/Static_EDF.py
+1
-1
No files found.
simso/schedulers/CC_EDF.py
View file @
c388d7ec
...
...
@@ -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
=
[]
...
...
simso/schedulers/Static_EDF.py
View file @
c388d7ec
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment