Library prosa.analysis.definitions.overheads.priority_bump

In this section, we define the notion of a priority bump.
Section PriorityBump.

Consider any type of jobs.
  Context {Job : JobType}.

Consider a JLFP-policy.
  Context {JLFP : JLFP_policy Job}.

Consider any explicit-overhead uni-processor schedule.
Time t is a priority bump if the job scheduled at time t has strictly higher priority than the job scheduled at time t−1. A priority bump also occurs if the processor was idle at time t−1 and starts executing a job at time t.
  Definition priority_bump (t : instant) :=
    match scheduled_job sched t.-1, scheduled_job sched t with
    | None, Nonefalse
    | None, Some _true
    | Some _, Nonefalse
    | Some j1, Some j2~~ hep_job j1 j2
    end.

End PriorityBump.