文件名称:os
介绍说明--下载内容均来自于网络,请自行研究使用
进程调度算法
1) 设计进程进程控制块PCB表结构,分别适用于优先数调度算法和循环轮转调度算法。
PCB结构通常包括以下信息:进程名,进程优先数(或轮转时间片),进程所占用的CPU时间,进程的状态,当前队列指针等。根据调度算法的不同,PCB结构的内容可以作适当的增删。
2) 建立进程就绪队列。对两种不同算法编制入链子程序。
3) 编制两种进程调度算法:
1)优先度调度;
2)循环轮转调度。
-Process scheduling algorithm 1) the design process, process control block PCB table structure, applicable to the number of priority scheduling algorithm and scheduling algorithm for cyclic rotation. PCB structure typically includes the following information: process name, process priority number (or cycle time slice), the CPU time occupied by the process, the process of the state, the current queue pointers. According to the different scheduling algorithm, PCB structure, content can make the appropriate additions and deletions. 2) the establishment of the process ready queue. The preparation of two different algorithms into the chain process. 3) the preparation of two kinds of process scheduling algorithm: 1) Priority scheduling 2) Cycle Cycle Scheduling.
1) 设计进程进程控制块PCB表结构,分别适用于优先数调度算法和循环轮转调度算法。
PCB结构通常包括以下信息:进程名,进程优先数(或轮转时间片),进程所占用的CPU时间,进程的状态,当前队列指针等。根据调度算法的不同,PCB结构的内容可以作适当的增删。
2) 建立进程就绪队列。对两种不同算法编制入链子程序。
3) 编制两种进程调度算法:
1)优先度调度;
2)循环轮转调度。
-Process scheduling algorithm 1) the design process, process control block PCB table structure, applicable to the number of priority scheduling algorithm and scheduling algorithm for cyclic rotation. PCB structure typically includes the following information: process name, process priority number (or cycle time slice), the CPU time occupied by the process, the process of the state, the current queue pointers. According to the different scheduling algorithm, PCB structure, content can make the appropriate additions and deletions. 2) the establishment of the process ready queue. The preparation of two different algorithms into the chain process. 3) the preparation of two kinds of process scheduling algorithm: 1) Priority scheduling 2) Cycle Cycle Scheduling.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
os.cpp