Library prosa.model.processor.sbf
Supply Bound Functions (SBF)
Parameter Semantics
Consider any type of jobs, ...
... any kind of processor state model, and ...
... any schedule.
Suppose we are given an SBF characterizing the schedule.
We say that the SBF is respected if, for any time interval
[t1, t2)
,
at least SBF (t2 - t1) cumulative supply is provided within the given
interval. In other words, the SBF lower-bounds the provided supply.
Definition supply_bound_function_respected :=
∀ (t1 t2 : instant),
t1 ≤ t2 →
SBF (t2 - t1) ≤ supply_during sched t1 t2.
∀ (t1 t2 : instant),
t1 ≤ t2 →
SBF (t2 - t1) ≤ supply_during sched t1 t2.
We say that the SBF is valid if two conditions are satisfied:
(1) SBF 0 = 0 and (2) the SBF is respected.
In the context of unit-supply processor models, it is known that
the amount of supply provided by the processor is bounded by 1
at any time instant. Hence, we can consider a restricted notion
of SBF, where the bound can only increase by at most 1 at each
time instant.
Remark sbf_bounded_by_duration :
valid_supply_bound_function →
unit_supply_bound_function →
∀ δ, SBF δ ≤ δ.
Proof.
move ⇒ [ZERO _] UNIT; elim.
- by rewrite leqn0; apply/eqP.
- by move ⇒ n; rewrite (leqRW (UNIT _)) ltnS.
Qed.
End SupplyBoundFunctions.
valid_supply_bound_function →
unit_supply_bound_function →
∀ δ, SBF δ ≤ δ.
Proof.
move ⇒ [ZERO _] UNIT; elim.
- by rewrite leqn0; apply/eqP.
- by move ⇒ n; rewrite (leqRW (UNIT _)) ltnS.
Qed.
End SupplyBoundFunctions.