SJF and SRTF scheduling programs with Gantt charts and captured output
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5v46dt7TVsHZxtoYC
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
Non-preemptive SJF
|
||||
|
||||
PID AT BT CT TAT WT
|
||||
P1 0 8 8 8 0
|
||||
P2 1 4 14 13 9
|
||||
P3 2 2 10 8 6
|
||||
|
||||
Average waiting time : 5.00
|
||||
Average turnaround time : 9.67
|
||||
|
||||
Gantt chart:
|
||||
| P1 | P3 | P2 |
|
||||
0 8 10 14
|
||||
Reference in New Issue
Block a user