文件名称:jcgl
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.14kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
(1)设计进程控制块PCB表结构,分别适用于优先权调度算法和时间片轮转调度算法。
PCB结构包括以下信息:进程名、进程优先数(或轮转时间片),进程所占用的CPU时间,进程的状态,当前队列指针等。根据调度算法的不同,PCB结构的内容可以作适当的增删。
(2)建立进程就绪队列。对两种不同算法编制入链子程序。
(3)编制两种进程调度算法:a)优先数调度;b)时间片轮转调度。允许用户在程序运行时选择使用某一种调度算法。-(1) design process control block PCB table structure, respectively, applicable to the priority scheduling algorithm and the time slice rotation scheduling algorithm. PCB structure includes the following information: process name, process priority number (or the rotation time slice), the process of occupying CPU time, the process of the state, such as the current queue pointer. According to the different scheduling algorithm, PCB content of the structure can be used for appropriate additions and deletions. (2) the establishment of the process ready queue. Algorithm on two different procedures for the preparation into the chain. (3) the process of the preparation of two scheduling algorithms: a) the number of scheduling priority b) time slice scheduling rotation. Allows the user to choose to use when running a particular scheduling algorithm.
PCB结构包括以下信息:进程名、进程优先数(或轮转时间片),进程所占用的CPU时间,进程的状态,当前队列指针等。根据调度算法的不同,PCB结构的内容可以作适当的增删。
(2)建立进程就绪队列。对两种不同算法编制入链子程序。
(3)编制两种进程调度算法:a)优先数调度;b)时间片轮转调度。允许用户在程序运行时选择使用某一种调度算法。-(1) design process control block PCB table structure, respectively, applicable to the priority scheduling algorithm and the time slice rotation scheduling algorithm. PCB structure includes the following information: process name, process priority number (or the rotation time slice), the process of occupying CPU time, the process of the state, such as the current queue pointer. According to the different scheduling algorithm, PCB content of the structure can be used for appropriate additions and deletions. (2) the establishment of the process ready queue. Algorithm on two different procedures for the preparation into the chain. (3) the process of the preparation of two scheduling algorithms: a) the number of scheduling priority b) time slice scheduling rotation. Allows the user to choose to use when running a particular scheduling algorithm.
相关搜索: 进程控制块pcb表结构
时间片轮转调度算法
(系统自动生成,下载前可以参看下载内容)
下载文件列表
进程管理和调度的算法实现.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.