文件名称:Cycle-time-slice-rotary-algorithm
-
所属分类:
- 标签属性:
- 上传时间:2012-12-30
-
文件大小:10.69kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
实验任务
设计一个程序,根据不同的调度算法模拟操作系统对进程的调度。
调度算法: 时间片循环法
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.