文件名称:01
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2016-05-25
- 文件大小:
- 937kb
- 下载次数:
- 0次
- 提 供 者:
- 李**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
模拟实现时间片轮转调度算法,具体如下:
设置进程体:进程名,进程的到达时间,服务时间,,进程状态(W——等待,R——运行,F——完成),进程间的链接指针
进程初始化:由用户输入进程名、服务时间进行初始化,同时,初始化进程的状态为W。
显示函数:在进程调度前、调度中和调度后进行显示。
排序函数:对就绪状态的进程按照进入就绪队列的时间排序,新到达的进行应优先于刚刚执行过的进程进入就绪队列的队尾。注意考虑到达时间
调度函数:每次从就绪队列队首调度优一个进程执行,状态变化。并在执行一个时间片后化,服务时间变化,状态变化。当服务时间为0时,状态变为F。
删除函数:撤销状态为F的进行。-Analog achieve round-robin scheduling algorithm, as follows:
Setting process member: arrival time, service time,, process status process name, process (W wait, R run, F completed), inter-process link pointer
Initialization process: process name entered by the user, the service time to initialize, and the status of the initialization process for the W.
Display Function: Before scheduling process, scheduling and dispatch after the display.
Sort function: The process according to the ready state into the ready queue time of ordering, the new arrival will be priority should be given to the process just d enters the tail of the ready queue. Note Consider Time
Scheduling function: Every first team the ready queue scheduling process s a superior, state changes. And, after the implementation of a time slice, service time, state changes. When the service time is 0, the state changes to F.
Delete function: The revocation status of the F s.
设置进程体:进程名,进程的到达时间,服务时间,,进程状态(W——等待,R——运行,F——完成),进程间的链接指针
进程初始化:由用户输入进程名、服务时间进行初始化,同时,初始化进程的状态为W。
显示函数:在进程调度前、调度中和调度后进行显示。
排序函数:对就绪状态的进程按照进入就绪队列的时间排序,新到达的进行应优先于刚刚执行过的进程进入就绪队列的队尾。注意考虑到达时间
调度函数:每次从就绪队列队首调度优一个进程执行,状态变化。并在执行一个时间片后化,服务时间变化,状态变化。当服务时间为0时,状态变为F。
删除函数:撤销状态为F的进行。-Analog achieve round-robin scheduling algorithm, as follows:
Setting process member: arrival time, service time,, process status process name, process (W wait, R run, F completed), inter-process link pointer
Initialization process: process name entered by the user, the service time to initialize, and the status of the initialization process for the W.
Display Function: Before scheduling process, scheduling and dispatch after the display.
Sort function: The process according to the ready state into the ready queue time of ordering, the new arrival will be priority should be given to the process just d enters the tail of the ready queue. Note Consider Time
Scheduling function: Every first team the ready queue scheduling process s a superior, state changes. And, after the implementation of a time slice, service time, state changes. When the service time is 0, the state changes to F.
Delete function: The revocation status of the F s.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
01\01.cpp
..\01.dsp
..\01.dsw
..\01.ncb
..\01.opt
..\01.plg
..\Debug\01.exe
..\.....\01.ilk
..\.....\01.obj
..\.....\01.pch
..\.....\01.pdb
..\.....\vc60.idb
..\.....\vc60.pdb
..\处理机调度.doc
..\Debug
01