Results of Analysis(3/3)
- Request Elevator (Tc=200msec)
- Execution time: Total execution time Cc4msec (Floor Buttons Interface){20msec(Scheduler){6msec(Elevator Manager). Execution utilization Ue=Cc/Ta=30/200=0.15
- Preemption by higher priority tasks with shorter periods: Arrival Sensors Interface and Elevator Controller (preempts Elevator Manager and Scheduler) can each execute four times for a total of 28 msec.
- Total preemption time Cp=28+18=46. Preemption utilization Up=Cp/Tp=0.23
- Total elapsed time=30+46+0=76
- Total Utilization= Ue+Up=0.15+0.23=0.38