文件名称:Cycle-time-slice-rotary-algorithm
介绍说明--下载内容均来自于网络,请自行研究使用
实验任务
设计一个程序,根据不同的调度算法模拟操作系统对进程的调度。
调度算法: 时间片循环法
1、 设计进程控制块PBC表结构,适用循环时间片轮转算法。
2、 PBC结构通常包括以下信息:进程名、进程优先数、轮转时间片、进程的CPU时间,进程状态等。根据调度算法不同,PCB结构可作适当的调整。
3、 建立进程队列。对不同的算法编制不同的入链程序。
程序要求达到的运行效果:在设置好进程数量、调度算法后,系统能按设定的参数运行,并在屏幕上交替显示就绪队列和完成队列的进程名等信息-The task
Design a program, according to the different scheduling algorithm simulation operating system to process scheduling.
Scheduling algorithm: time slice cycle method
1, design process control block PBC table structure, it is suitable for cycle time slice rotary algorithm.
2, PBC structure usually include the following information: name of the process, process priority number, cycle time slice, process of CPU time, process status, etc. According to the different scheduling algorithm, PCB structure can make the appropriate adjustment.
3, establish process queue. To different algorithms to different into chain program.
The process requirements to achieve the effect of operation: in the set up process quantity, scheduling algorithm, the system can be set according to the parameters of the operation, and on the screen alternate display ready queue and complete queue process information such as name
设计一个程序,根据不同的调度算法模拟操作系统对进程的调度。
调度算法: 时间片循环法
1、 设计进程控制块PBC表结构,适用循环时间片轮转算法。
2、 PBC结构通常包括以下信息:进程名、进程优先数、轮转时间片、进程的CPU时间,进程状态等。根据调度算法不同,PCB结构可作适当的调整。
3、 建立进程队列。对不同的算法编制不同的入链程序。
程序要求达到的运行效果:在设置好进程数量、调度算法后,系统能按设定的参数运行,并在屏幕上交替显示就绪队列和完成队列的进程名等信息-The task
Design a program, according to the different scheduling algorithm simulation operating system to process scheduling.
Scheduling algorithm: time slice cycle method
1, design process control block PBC table structure, it is suitable for cycle time slice rotary algorithm.
2, PBC structure usually include the following information: name of the process, process priority number, cycle time slice, process of CPU time, process status, etc. According to the different scheduling algorithm, PCB structure can make the appropriate adjustment.
3, establish process queue. To different algorithms to different into chain program.
The process requirements to achieve the effect of operation: in the set up process quantity, scheduling algorithm, the system can be set according to the parameters of the operation, and on the screen alternate display ready queue and complete queue process information such as name
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Cycle time slice rotary algorithm.doc