模擬cpu的排程,比較四種方法之間的差異
1.first come first serve(FIFO)
2.round_robin(RR)
3.Non-preemptive shortest job first(SJF)
4.preemptive shortest job first(SRTF)
5.比較各個方法的waiting time,turnaround time,response time
6.退出
備註:
讀入的檔案要照arrival time 排序好,比較不會出錯
可以用 makefile來一起編譯程式(編譯完後的執行檔叫做project)