Round Robin
2020-07-23 15:12:16 5 举报
Round Robin流程图(求赞)
作者其他创作
大纲/内容
Yes
No
excute next process in ready queue
set current time to next coming process's arrival time
input the number of processes and the maxiumtime slice
add current process to the end of ready queue
End
Print out the results
Ready queue not empty or Coming queue not empty?
current process still have service time left?
generate processes randomly and store them in the coming queue
Start
coming queue not empty and the first process's arrival time <= current time?
Ready queue empty?
poll the first process in the coming queue to the ready queue
current time slice <=maxium time slice?
compare normalized turnaround time and get the best time slice and normalized turnaround time
收藏
0 条评论
回复 删除
下一页