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
b3d66e94
Commit
b3d66e94
authored
5 years ago
by
Sergey Bozhko
Browse files
Options
Downloads
Patches
Plain Diff
Add notion of idleness for ideal uni-processor
parent
1bd6d79c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!45
Port instantiations
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
restructuring/model/processor/ideal.v
+19
-0
19 additions, 0 deletions
restructuring/model/processor/ideal.v
with
19 additions
and
0 deletions
restructuring/model/processor/ideal.v
+
19
−
0
View file @
b3d66e94
...
...
@@ -24,3 +24,22 @@ Section State.
by
exists
tt
.
Defined
.
End
State
.
(** In this section we define the notion of idleness for ideal uni-processor. *)
Section
IsIdle
.
(** Consider any type of job. *)
Context
{
Job
:
JobType
}
.
Context
`{
JobArrival
Job
}
.
Context
`{
JobCost
Job
}
.
(** Consider any arrival sequence... *)
Variable
arr_seq
:
arrival_sequence
Job
.
(** ... and any ideal uniprocessor schedule of this arrival sequence. *)
Variable
sched
:
schedule
(
(*ideal*)
processor_state
Job
)
.
(** We say that the processor is idle at time t iff there is no job being scheduled. *)
Definition
is_idle
(
t
:
instant
)
:=
sched
t
==
None
.
End
IsIdle
.
\ No newline at end of file
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