A simple simulation of FCFS, SJN, PS, SRTFS, RR scheduler
Just execute "make".
There would be 5 binaries in bin dir:
- fcfs
- sjn
- srtfs
- ps
- rr
fcfs - First-come, First-served scheduling sjn - Shortest Job Next srtfs - Shortest Remaining time first scheduling ps - priority scheduling rr - round robin scheduling
ex1: if you wish to run priority scheduler on data_3.txt bin/ps data_3.txt
ex2 if you wish to run Shortest Job Next on data_2.txt bin/sjn data_2.txt