Library prosa.analysis.definitions.demand_bound_function

Demand Bound Function (DBF)

Here we define Baruah et al.'s classic notion of a demand bound function, generalized to arbitrary arrival curves.
Consider any type of tasks.
  Context {Task : TaskType}.

Suppose each task is characterized by a WCET, a relative deadline, and an arrival curve.
  Context `{TaskCost Task} `{TaskDeadline Task} `{MaxArrivals Task}.

A task's DBF is its request-bound function (RBF) shifted by task_deadline tsk - 1 time units.
A task set's total demand bound function is simply the sum of each task's DBF.