Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PROSA - Formally Proven Schedulability Analysis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RT-PROOFS
PROSA - Formally Proven Schedulability Analysis
Commits
848b0214
Commit
848b0214
authored
5 years ago
by
Maxime Lesourd
Committed by
Björn Brandenburg
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add task_cost containing definitions related to the WCET model
parent
41717e83
No related branches found
Branches containing commit
No related tags found
1 merge request
!22
Naming conventions
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
restructuring/model/task_cost.v
+34
-0
34 additions, 0 deletions
restructuring/model/task_cost.v
with
34 additions
and
0 deletions
restructuring/model/task_cost.v
0 → 100644
+
34
−
0
View file @
848b0214
From
rt
.
restructuring
.
behavior
Require
Export
task
arrival
.
arrival_sequence
.
Section
TaskCost
.
Context
{
T
:
TaskType
}
.
Variable
(
task_cost
:
duration
)
.
Definition
valid_task_cost
:=
task_cost
>
0
.
End
TaskCost
.
(* Definition of a generic type of parameter for task cost *)
Class
TaskCost
(
T
:
TaskType
)
:=
task_cost
:
T
->
duration
.
Section
TasksetCosts
.
Context
{
T
:
TaskType
}
`{
TaskCost
T
}
.
Variable
ts
:
seq
T
.
Definition
valid_taskset_costs
:=
forall
tsk
:
T
,
tsk
\
in
ts
->
task_cost
tsk
>
0
.
Context
{
J
:
JobType
}
`{
JobTask
J
T
}
`{
JobCost
J
}
.
Variable
arr_seq
:
arrival_sequence
J
.
Definition
respects_taskset_costs
:=
forall
j
,
arrives_in
arr_seq
j
->
job_cost
j
<=
task_cost
(
job_task
j
)
.
End
TasksetCosts
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment