CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 其它 操作系统开发

文件名称:进程调度

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2017-07-06
  • 文件大小:
    1kb
  • 已下载:
    2次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

进程调度算法:采用最高优先数优先的调度算法(即把处理机分配给优先数最高的进程)和先来先服务算法。
每个进程有一个进程控制块( PCB)表示。进程控制块可以包含如下信息:进程名、优先数、到达时间、需要运行时间、已用CPU时间、进程状态等等。
进程的优先数及需要的运行时间可以事先人为地指定(也可以由随机数产生)。进程的到达时间为进程输入的时间。进程的运行时间以时间片为单位进行计算。每个进程的状态可以是就绪 W(Wait)、运行R(Run)、或完成F(Finish)三种状态之一。就绪进程获得 CPU后都只能运行一个时间片。用已占用CPU时间加1来表示。
每进行一次调度程序都打印一次运行进程、就绪队列、以及各个进程的 PCB,以便进行检查。(Process scheduling algorithm: the highest priority number of priority scheduling algorithm (that is, the processor is assigned to the highest priority process) and first come first service algorithm.
Each process has a process control block (PCB) representation. Process control blocks can contain the following information: process name, priority number, arrival time, run time, CPU time, process status, and so on.
The priority number of the process and the required run time can be specified artificially (or by random numbers). The process's arrival time is the process's input time. The running time of a process is calculated as a time slice. The state of each process can be one of the three states of ready W (Wait), running R (Run), or completion of F (Finish). Once the ready process gets CPU, it can only run one time slice. Represented by taking CPU time plus 1.
Each time the scheduler prints a run, a ready queue, and the PCB of each process for inspection.)
相关搜索: 进程调度,程序

(系统自动生成,下载前可以参看下载内容)

下载文件列表

改进.cpp

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com