文件名称:01
-
所属分类:
- 标签属性:
- 上传时间:2016-05-24
-
文件大小:937.26kb
-
已下载: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/01.dsp
01/01.dsw
01/01.ncb
01/01.opt
01/01.plg
01/Debug/01.exe
01/Debug/01.ilk
01/Debug/01.obj
01/Debug/01.pch
01/Debug/01.pdb
01/Debug/vc60.idb
01/Debug/vc60.pdb
01/处理机调度.doc
01/Debug
01
01/01.dsp
01/01.dsw
01/01.ncb
01/01.opt
01/01.plg
01/Debug/01.exe
01/Debug/01.ilk
01/Debug/01.obj
01/Debug/01.pch
01/Debug/01.pdb
01/Debug/vc60.idb
01/Debug/vc60.pdb
01/处理机调度.doc
01/Debug
01
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.