Library prosa.analysis.facts.busy_interval.priority_inversion
Lemma about Priority Inversion for arbitrary processors
In this section, we prove a lemma about the notion of priority inversion for arbitrary processors.
Consider any type of tasks ...
... and any type of jobs associated with these tasks.
Context {Job : JobType}.
Context `{JobTask Job Task}.
Context `{JobArrival Job}.
Context `{JobCost Job}.
Context `{JobTask Job Task}.
Context `{JobArrival Job}.
Context `{JobCost Job}.
Next, consider any kind of processor state model, ...
... any arrival sequence, ...
... and any schedule.
Assume a given JLFP policy.
Consider an arbitrary job.
Then we prove that cumulative priority inversion (CPI) that job
j incurs in an interval
[t1, t2)
is equal to the sum of
CPI in an interval [t1, t_mid)
and CPI in an interval
[t_mid, t2)
.