12.07.2015 Views

Clock-driven (or Static) Scheduling (Baker and Shaw and Chapter 5 ...

Clock-driven (or Static) Scheduling (Baker and Shaw and Chapter 5 ...

Clock-driven (or Static) Scheduling (Baker and Shaw and Chapter 5 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

S 1 is released at time 3.» Must be scheduled in frames 2, 3, <strong>and</strong> 4.» Acceptance test – at the beginning of frame 2:• Slack time (4) is less than execution time – job is rejected.S 2 is released at time 5.» Must be scheduled in frames 3 through 7.» Acceptance test – at the beginning of frame 3:• Slack time is 5.5 – job is accepted.• First part (2 units) executes in current frame.S 3 is released at time 11.» Must be scheduled in frames 4 <strong>and</strong> 5.» S 3 executes ahead of S 2» Acceptance test – at the beginning of frame 4:• Slack time is 2 (is enough both f<strong>or</strong> S 3<strong>and</strong> the part of S 2) – job is accepted• First part (1 unit) S 3executes in current frame, followed by the second part of S 2S 4 is released at time 14.» Acceptance test – at the beginning of frame 5:• Slack time is 4.5 (accounted f<strong>or</strong> slack committed by S 2<strong>and</strong> S 3) – job is rejected• Remaining p<strong>or</strong>tion of S 3completes in current frame, followed by the part of S 2• Remaining p<strong>or</strong>tions of S 2execute in the next two frames

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!