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
02b73f57
authored
9 years ago
by
Maxime Chéramy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tasks: Abort on miss is now the default.
parent
4746ad6d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
simso/configuration/Configuration.py
+1
-1
simso/configuration/parser.py
+2
-2
No files found.
simso/configuration/Configuration.py
View file @
02b73f57
...
...
@@ -278,7 +278,7 @@ class Configuration(object):
return
self
.
_scheduler_info
def
add_task
(
self
,
name
,
identifier
,
task_type
=
"Periodic"
,
abort_on_miss
=
Fals
e
,
period
=
10
,
activation_date
=
0
,
abort_on_miss
=
Tru
e
,
period
=
10
,
activation_date
=
0
,
n_instr
=
0
,
mix
=
0.5
,
stack_file
=
""
,
wcet
=
0
,
acet
=
0
,
et_stddev
=
0
,
deadline
=
10
,
base_cpi
=
1.0
,
followed_by
=
None
,
list_activation_dates
=
[],
preemption_cost
=
0
,
data
=
None
):
...
...
This diff is collapsed.
Click to expand it.
simso/configuration/parser.py
View file @
02b73f57
...
...
@@ -93,8 +93,8 @@ class Parser(object):
attr
[
'name'
]
.
value
,
int
(
attr
[
'id'
]
.
value
),
task_type
,
'abort_on_miss'
in
attr
and
attr
[
'abort_on_miss'
]
.
value
==
'yes'
,
'abort_on_miss'
not
in
attr
or
attr
[
'abort_on_miss'
]
.
value
==
'yes'
,
float
(
attr
[
'period'
]
.
value
),
float
(
attr
[
'activationDate'
]
.
value
)
if
'activationDate'
in
attr
else
0
,
...
...
This diff is collapsed.
Click to expand it.
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