Commit fb0abd10 authored by David Wiesner's avatar David Wiesner
Browse files

FIX: EDF scheduling.

parent f7c51c69
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -707,7 +707,7 @@ void Scheduler<MV, PV>::RunFeeder_st(const size_t stopTimeStamp, const size_t th
                {
                {
                        // earliest deadline first (EDF)
                        // earliest deadline first (EDF)
                        // get time_point + next_phase_budget of current cell
                        // get time_point + next_phase_budget of current cell
                        size_t cellDeadline = (*iter)->GetTimePoint(); 
                        size_t cellDeadline = (*iter)->GetTimePoint() 
					  		+ (*iter)->GetPhaseFrameBudget((*iter)->GetNextPhase());
					  		+ (*iter)->GetPhaseFrameBudget((*iter)->GetNextPhase());


                        // latest finished timePoint of the cell
                        // latest finished timePoint of the cell