A system adopts a priority-based preemptive scheduling where the initial priority of a process increases by 1 after every 5 ms. In a recorded time span, the system has four processes, P1, P2, P3 and P4, as shown in the following table: Draw a timing diagram similar to Figure 3.7 in the Textbook and find the turnaround time for each process. Assume that the dispatcher takes 2.5 milliseconds for a process switch.Process A
Process B
Process C
Dispatcher
1.1
Figure 3.7 Process States for the Trace of Figure 3.4Proc
Process B
Process C
Dispatcher
し
A system adopts a priority-based preemptive scheduling where the initial priority of a
process increases by 1 after every 5 ms . In a recorded time span, the system has four
processes, P1, P2, P3 and P4, as shown in the following table:
Draw a timing diagram similar to Figure 3.7 and find the turnaround time for each process.
Assume that the dispatcher takes 2.5 milliseconds for a process switch.