Presentation is loading. Please wait.

Presentation is loading. Please wait.

Real-Time System Project Presented by Che-Wei Chang Advisor: Tei-Wei Kuo 2008/05/28.

Similar presentations


Presentation on theme: "Real-Time System Project Presented by Che-Wei Chang Advisor: Tei-Wei Kuo 2008/05/28."— Presentation transcript:

1 Real-Time System Project Presented by Che-Wei Chang Advisor: Tei-Wei Kuo 2008/05/28

2 Least Slack Time First Scheduling Implement at least 3 tasks that loops infinitely with a delay invocation. Define a deadline for each task in your own manner. Derive slack time from deadline and remain workload. Adjust the slack time of each task in each iteration of this task. Write a function that changes the priorities of tasks according to their slack time with OSTaskChangePrio().

3 Step by Step Create the tasks and derive the parameters Get the control of the LSF system at the end of every time unit. Update the parameters Update the priorities Resume the LSF system

4 Three Approaches Controlled by all tasks – OSTimeGet(); – OSTimeDly(); Controlled by a supervisor task – OSTimeDly(); – OSTimeDlyResume(); Controlled by a hook function – OSTimeTickHook (); – OSTimeDly(); – OSTimeDlyResume();

5 Report Explain your code Prove the correctness of your program Explain how to change the task set Discuss the timer drift problem and other interesting issues Show other bonus As detailed as possible At most 5 pages

6 Environment – Intel 80x86 processor + DOS windows using Microsoft Windows Deadline – 6/23 23:55 Submit files to TA – Demo – 5 people randomly selected


Download ppt "Real-Time System Project Presented by Che-Wei Chang Advisor: Tei-Wei Kuo 2008/05/28."

Similar presentations


Ads by Google