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
03101ea9
Commit
03101ea9
authored
9 years ago
by
Felipe Cerqueira
Browse files
Options
Downloads
Patches
Plain Diff
Improve theorem statement about response time bound
parent
11a82d9b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bertogna_fp_comp.v
+13
-12
13 additions, 12 deletions
bertogna_fp_comp.v
with
13 additions
and
12 deletions
bertogna_fp_comp.v
+
13
−
12
View file @
03101ea9
...
...
@@ -599,11 +599,13 @@ Module ResponseTimeIterationFP.
Hypothesis
H_global_scheduling_invariant
:
FP_scheduling_invariant_holds
job_cost
job_task
num_cpus
rate
sched
ts
higher_eq_priority
.
Definition
no_deadline_missed_by_task
(
tsk
:
sporadic_task
)
:=
Let
no_deadline_missed_by_task
(
tsk
:
sporadic_task
)
:=
task_misses_no_deadline
job_cost
job_deadline
job_task
rate
sched
tsk
.
Definition
no_deadline_missed_by_job
:=
Let
no_deadline_missed_by_job
:=
job_misses_no_deadline
job_cost
job_deadline
rate
sched
.
Let
response_time_bounded_by
(
tsk
:
sporadic_task
)
:=
is_response_time_bound_of_task
job_cost
job_task
tsk
rate
sched
.
(* In the following lemma, we prove that any response-time bound contained
in R_list is safe. The proof follows by induction on the task set:
...
...
@@ -618,9 +620,7 @@ Module ResponseTimeIterationFP.
forall
rt_bounds
tsk
R
,
R_list
ts
=
Some
rt_bounds
->
(
tsk
,
R
)
\
in
rt_bounds
->
forall
j
:
JobIn
arr_seq
,
job_task
j
=
tsk
->
completed
job_cost
rate
sched
j
(
job_arrival
j
+
R
)
.
response_time_bounded_by
tsk
R
.
Proof
.
rename
H_valid_job_parameters
into
JOBPARAMS
,
H_valid_task_parameters
into
TASKPARAMS
,
H_restricted_deadlines
into
RESTR
,
H_completed_jobs_dont_execute
into
COMP
,
...
...
@@ -769,11 +769,12 @@ Module ResponseTimeIterationFP.
Theorem
fp_schedulability_test_yields_response_time_bounds
:
forall
tsk
,
tsk
\
in
ts
->
exists
R
,
R
<=
task_deadline
tsk
/\
forall
(
j
:
JobIn
arr_seq
),
job_task
j
=
tsk
->
completed
job_cost
rate
sched
j
(
job_arrival
j
+
R
)
.
if
R_list
ts
is
Some
rt_bounds
then
exists
R
,
(
tsk
,
R
)
\
in
rt_bounds
/\
R
<=
task_deadline
tsk
/\
response_time_bounded_by
tsk
R
else
False
.
Proof
.
intros
tsk
IN
.
unfold
fp_schedulable
in
*.
...
...
@@ -783,7 +784,7 @@ Module ResponseTimeIterationFP.
destruct
(
R_list
ts
)
as
[
rt_bounds
|];
last
by
ins
.
exploit
(
TASKS
rt_bounds
tsk
);
[
by
ins
|
clear
TASKS
;
intro
EX
]
.
destruct
EX
as
[
EX
_];
specialize
(
EX
IN
);
des
.
exists
R
;
split
.
exists
R
;
repeat
split
;
try
(
by
done
)
.
by
apply
DL
with
(
rt_bounds0
:=
rt_bounds
)
.
by
ins
;
apply
(
BOUNDS
rt_bounds
tsk
)
.
Qed
.
...
...
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