文件名称:SimpleCycling
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.25kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
简单轮转法的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
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。