Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5v46dt7TVsHZxtoYC
14 lines
216 B
Plaintext
14 lines
216 B
Plaintext
Preemptive SJF (SRTF)
|
|
|
|
PID AT BT CT TAT WT
|
|
P1 0 8 14 14 6
|
|
P2 1 4 7 6 2
|
|
P3 2 2 4 2 0
|
|
|
|
Average waiting time : 2.67
|
|
Average turnaround time : 7.33
|
|
|
|
Gantt chart:
|
|
| P1 | P2 | P3 | P2 | P1 |
|
|
0 1 2 4 7 14
|