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
4e4337d6
Commit
4e4337d6
authored
5 years ago
by
Maxime Lesourd
Committed by
Björn Brandenburg
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add sporadic task model
parent
848b0214
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/arrival/sporadic.v
+43
-0
43 additions, 0 deletions
restructuring/model/arrival/sporadic.v
with
43 additions
and
0 deletions
restructuring/model/arrival/sporadic.v
0 → 100644
+
43
−
0
View file @
4e4337d6
From
rt
.
restructuring
.
behavior
Require
Export
arrival
.
arrival_sequence
task
.
Section
TaskMinInterArrivalTime
.
Context
{
T
:
TaskType
}
.
Variable
(
task_min_inter_arrival_time
:
duration
)
.
Definition
valid_task_min_inter_arrival_time
:=
task_min_inter_arrival_time
>
0
.
End
TaskMinInterArrivalTime
.
(* Definition of a generic type of parameter for task
minimum inter arrival times *)
Class
SporadicModel
(
T
:
TaskType
)
:=
task_min_inter_arrival_time
:
T
->
duration
.
Section
SporadicModel
.
Context
{
T
:
TaskType
}
`{
SporadicModel
T
}
.
Variable
ts
:
seq
T
.
Definition
valid_taskset_min_inter_arrival_times
:=
forall
tsk
:
T
,
tsk
\
in
ts
->
task_min_inter_arrival_time
tsk
>
0
.
Context
{
J
:
JobType
}
`{
JobTask
J
T
}
`{
JobArrival
J
}
.
Variable
arr_seq
:
arrival_sequence
J
.
(* Then, we define the sporadic task model as follows.*)
Definition
respects_sporadic_task_model
:=
forall
(
j
j'
:
J
),
j
<>
j'
->
(* Given two different jobs j and j' ... *)
arrives_in
arr_seq
j
->
(* ...that belong to the arrival sequence... *)
arrives_in
arr_seq
j'
->
job_task
j
=
job_task
j'
->
(* ... and that are spawned by the same task, ... *)
job_arrival
j
<=
job_arrival
j'
->
(* ... if the arrival of j precedes the arrival of j' ..., *)
(* then the arrival of j and the arrival of j' are separated by at least one period. *)
job_arrival
j'
>=
job_arrival
j
+
task_min_inter_arrival_time
(
job_task
j
)
.
End
SporadicModel
.
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