result.txt

来自「模拟操作系统的先来先服务算法」· 文本 代码 · 共 46 行

TXT
46
字号
How many processes do you want to run:5
No.1 process input pname:pro5
                runtime:10
             arrivetime:2
                  state: r
No.2 process input pname:pro4
                runtime:5
             arrivetime:1
                  state: r
No.3 process input pname:pro3
                runtime:7
             arrivetime:7
                  state: r
No.4 process input pname:pro4
                runtime:6
             arrivetime:6
                  state: r
No.5 process input pname:pro5
                runtime:8
             arrivetime:8
                  state: r
还在在就绪队列中的进程:
pro5
pro4
pro3
pro5
current time is   1 : process pro4 start.
current time is   5 : process pro4 end.
还在在就绪队列中的进程:
pro4
pro3
pro5
current time is   5 : process pro5 start.
current time is  14 : process pro5 end.
还在在就绪队列中的进程:
pro3
pro5
current time is  14 : process pro4 start.
current time is  19 : process pro4 end.
还在在就绪队列中的进程:
pro5
current time is  19 : process pro3 start.
current time is  25 : process pro3 end.
current time is  25 : process pro5 start.
current time is  32 : process pro5 end.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?