Research Article

A Work-Demand Analysis Compatible with Preemption-Aware Scheduling for Power-Aware Real-Time Tasks

Algorithm 2

CalcSlackTime(additional slack ).
Input: the active task , readyQ and current time
Output: the slack time for
 Identify the task that has the earliest upcoming deadline among tasks whose
  priorities are not higher than that of ;
CalcLowerPriorityWork(τ β, , );
;
max ;
return ;