文件名称:SimpleCycling
介绍说明--下载内容均来自于网络,请自行研究使用
简单轮转法的c语言实现。每个进程有一个进程控制块(PCB)表示。进程控制块可以包含如下信息:进程名、优先数、到达时间、需要运行时间、已用CUP时间、进程状态等等。
进程的优先数以及需要运行时间可以事先人为地指定(也可以随机产生)。进程的到达时间为进程的输入时间。进程的运行时间以时间片为单位进行计算。
每个进程的状态可以就绪、运行、完成三种状态之一。
就绪进程获得CPU后都只能运行一个时间片。用已占用CUP时间加1来表示。
-Simple rotation law c language. Each process has a process control block (PCB) said. Process control block can contain the following information: process name, priority number, arrival time, you need to run time, has spent CUP time, the process state and so on. Process priority number, and the need to run time can be specified in advance to artificially (you can also randomly generated). Process the input arrival time for the process time. Process run time is calculated in units of time slices. The state of each process can be ready, running, completed one of three states. Ready access to CPU after the process can only run one time slice. CUP with a time occupied by 1 to represent.
进程的优先数以及需要运行时间可以事先人为地指定(也可以随机产生)。进程的到达时间为进程的输入时间。进程的运行时间以时间片为单位进行计算。
每个进程的状态可以就绪、运行、完成三种状态之一。
就绪进程获得CPU后都只能运行一个时间片。用已占用CUP时间加1来表示。
-Simple rotation law c language. Each process has a process control block (PCB) said. Process control block can contain the following information: process name, priority number, arrival time, you need to run time, has spent CUP time, the process state and so on. Process priority number, and the need to run time can be specified in advance to artificially (you can also randomly generated). Process the input arrival time for the process time. Process run time is calculated in units of time slices. The state of each process can be ready, running, completed one of three states. Ready access to CPU after the process can only run one time slice. CUP with a time occupied by 1 to represent.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SimpleCycling.c