Result of Analysis(2/3)
- Select Destination (Tb=100msec)
- Execution time: Total execution time Cb3msec (Elevator Buttons Interface){6msec(Elevator Manager). Execution Utilization Ue=Ca/Ta=9/100=0.09
- Preemption by higher priority tasks with shorter periods: Arrival Sensors Interface and Elevator Controller (preempts Elevator Manager) can each execute twice during 100 msec period, giving a preemption time of 14 msec.
- Preemption by higher priority tasks with longer periods: 4 msec from Floor Buttons Interface to handle floor Button interrupt.
- Total preemption time Cp=14+4=18 BTotal preemption utilization Up= Cp/Tb = 18/100 = 0.18
- Blocking time: Worst-case blocking time Ba= 20msec (Scheduler). Worst-case blocking utilization Ub = Bb/Tb=20/100=0.20
- Total Utilization= Ue+Up+Ub=0.09+0.18+0.20=0.47