文件名称:create_progress
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:36.29kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
进程状态有5种: e -执行态 r -高就绪态 t -低就绪态 w -等待态 c -完成态。初始每个进程均为高就绪状态,如果时间片到则转为低就绪状态。
系统分时执行各进程,规定三个进程的执行概率均为33 。通过产生随机数x来模拟时间片。若各进程的执行时间片到限,产生“时间片中断”而转入低就绪状态。
进程调度算法采用剥夺式调度算法。每次总是选择优先数最小(优先级别最高)的就绪进程投入执行。//先从 r 状态进程中选择,再从 t 状态进程中选择。
进程0完成5次计算:s1++ s2++
进程1完成5次计算:s2++ s1++
进程2完成5次计算:s2++
-Process state has five kinds: e -implementation of the state r -high readiness state t -low-ready state w -wait state c -complete
State. The initial state of each process are the high ready, if the time slice to be transformed into a low state of readiness.
System time-sharing implementation of the process, the implementation of the provisions of the three processes are 33 probability. By generating random numbers to simulate the time x
Film. If the process of implementation of the time slice to the limit, have a "time slice interrupt," and into the low state of readiness.
Process scheduling algorithm uses the deprivation of scheduling algorithm. Always choose the minimum number for each priority (highest priority) is ready
Into the implementation process.// Start with r state of the process of selection, from t state of the process of selection.
The completion of the process 0 5 calculated: s1++ s2++
Process of a complete calculation 5: s2++ s1++
2 to com
系统分时执行各进程,规定三个进程的执行概率均为33 。通过产生随机数x来模拟时间片。若各进程的执行时间片到限,产生“时间片中断”而转入低就绪状态。
进程调度算法采用剥夺式调度算法。每次总是选择优先数最小(优先级别最高)的就绪进程投入执行。//先从 r 状态进程中选择,再从 t 状态进程中选择。
进程0完成5次计算:s1++ s2++
进程1完成5次计算:s2++ s1++
进程2完成5次计算:s2++
-Process state has five kinds: e -implementation of the state r -high readiness state t -low-ready state w -wait state c -complete
State. The initial state of each process are the high ready, if the time slice to be transformed into a low state of readiness.
System time-sharing implementation of the process, the implementation of the provisions of the three processes are 33 probability. By generating random numbers to simulate the time x
Film. If the process of implementation of the time slice to the limit, have a "time slice interrupt," and into the low state of readiness.
Process scheduling algorithm uses the deprivation of scheduling algorithm. Always choose the minimum number for each priority (highest priority) is ready
Into the implementation process.// Start with r state of the process of selection, from t state of the process of selection.
The completion of the process 0 5 calculated: s1++ s2++
Process of a complete calculation 5: s2++ s1++
2 to com
(系统自动生成,下载前可以参看下载内容)
下载文件列表
create_progress/create_progress.dsp
create_progress/create_progress.dsw
create_progress/create_progress.ncb
create_progress/create_progress.opt
create_progress/create_progress.plg
create_progress/Debug/create_progress.pch
create_progress/Debug/progress.obj
create_progress/Debug/vc60.idb
create_progress/Debug/vc60.pdb
create_progress/progress.cpp
create_progress/Debug
create_progress
create_progress/create_progress.dsw
create_progress/create_progress.ncb
create_progress/create_progress.opt
create_progress/create_progress.plg
create_progress/Debug/create_progress.pch
create_progress/Debug/progress.obj
create_progress/Debug/vc60.idb
create_progress/Debug/vc60.pdb
create_progress/progress.cpp
create_progress/Debug
create_progress
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.