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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
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
Lasse Blaauwbroek
PROSA - Formally Proven Schedulability Analysis
Commits
608eb93b
Commit
608eb93b
authored
3 years ago
by
Pierre Roux
Committed by
Björn Brandenburg
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Make the floating preemptive model hypothesis more explicit
parent
fe966f9b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
analysis/facts/preemption/rtc_threshold/floating.v
+3
-3
3 additions, 3 deletions
analysis/facts/preemption/rtc_threshold/floating.v
model/task/preemption/floating_nonpreemptive.v
+2
-4
2 additions, 4 deletions
model/task/preemption/floating_nonpreemptive.v
with
5 additions
and
7 deletions
analysis/facts/preemption/rtc_threshold/floating.v
+
3
−
3
View file @
608eb93b
Require
Export
prosa
.
analysis
.
facts
.
preemption
.
task
.
floating
.
Require
Export
prosa
.
analysis
.
facts
.
preemption
.
rtc_threshold
.
job_preemptable
.
(** Furthermore, we assume the task model with floating non-preemptive regions. *)
Require
Import
prosa
.
model
.
preemption
.
limited_preemptive
.
Require
Import
prosa
.
model
.
task
.
preemption
.
floating_nonpreemptive
.
(** * Task's Run to Completion Threshold *)
...
...
@@ -10,6 +7,9 @@ Require Import prosa.model.task.preemption.floating_nonpreemptive.
threshold] for the model with floating non-preemptive regions. *)
Section
TaskRTCThresholdFloatingNonPreemptiveRegions
.
(** Furthermore, we assume the task model with floating non-preemptive regions. *)
#[
local
]
Existing
Instance
floating_preemptive
.
(** Consider any type of tasks ... *)
Context
{
Task
:
TaskType
}
.
Context
`{
TaskCost
Task
}
.
...
...
This diff is collapsed.
Click to expand it.
model/task/preemption/floating_nonpreemptive.v
+
2
−
4
View file @
608eb93b
...
...
@@ -59,9 +59,7 @@ Section TaskRTCThresholdFloatingNonPreemptiveRegions.
information about the placement of preemption points in all jobs, i.e.,
it is impossible to predict when exactly a job will be preemptable. Thus,
the only safe run-to-completion threshold is [task cost]. *)
Global
Program
Instance
fully_preemptive
:
TaskRunToCompletionThreshold
Task
:=
{
task_rtct
(
tsk
:
Task
)
:=
task_cost
tsk
}
.
Definition
floating_preemptive
:
TaskRunToCompletionThreshold
Task
:=
fun
tsk
:
Task
=>
task_cost
tsk
.
End
TaskRTCThresholdFloatingNonPreemptiveRegions
.
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