Presentation on theme: "Real-Time System Project Presented by Che-Wei Chang Advisor: Tei-Wei Kuo 2008/05/28."— Presentation transcript:
Real-Time System Project Presented by Che-Wei Chang Advisor: Tei-Wei Kuo 2008/05/28
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().
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
Three Approaches Controlled by all tasks – OSTimeGet(); – OSTimeDly(); Controlled by a supervisor task – OSTimeDly(); – OSTimeDlyResume(); Controlled by a hook function – OSTimeTickHook (); – OSTimeDly(); – OSTimeDlyResume();
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
Environment – Intel 80x86 processor + DOS windows using Microsoft Windows Deadline – 6/23 23:55 Submit files to TA – firstname.lastname@example.org Demo – 5 people randomly selected