文件名称:processscheduling
-
所属分类:
- 标签属性:
- 上传时间:2013-12-29
-
文件大小:293.95kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
操作系统:
进程调度模拟程序设计
2,实现的功能:实现了进程调度模拟程序设计中的基于动态优先权的算法。
3,优点:
在程序的窗口给出了最开始的时候的队列里的状况,随机生成了每个进程的“优先权”和“要求运行时间”,并考虑到了避免产生
较大的数而导致程序长时间陷入循环,(即设定了优先权和要求运行时间的上下限);
可以方便的添加或者删除进程数目,(只需要改动源代码中的MAXN值即可,其他的不需要改动)而不影响程序的运行,健壮性好。
4,缺点:
对按“优先权”进行排序采用的是快排的方式,这样当进程的数目较多时可能会耗费一定的时间。
-Process scheduling simulation program design 2, functions: to achieve the design process scheduling simulation program based on dynamic priority algorithm. 3, the advantages: the procedure given in the beginning of the window when the status of the queue is randomly generated for each process of the " priority" and " time required to run" , and to avoid taking into account the result of the larger number program for a long time into the cycle, (ie, setting the priorities and requirements of the upper and lower running time) You can easily add or remove the number of processes (only need to change the source code MAXN value to other no changes) without affecting the operation of the program, the robustness is good. 4 Disadvantages: Press the " priority" is used to sort the rows of the way fast, may take some time so that when a larger number of processes.
进程调度模拟程序设计
2,实现的功能:实现了进程调度模拟程序设计中的基于动态优先权的算法。
3,优点:
在程序的窗口给出了最开始的时候的队列里的状况,随机生成了每个进程的“优先权”和“要求运行时间”,并考虑到了避免产生
较大的数而导致程序长时间陷入循环,(即设定了优先权和要求运行时间的上下限);
可以方便的添加或者删除进程数目,(只需要改动源代码中的MAXN值即可,其他的不需要改动)而不影响程序的运行,健壮性好。
4,缺点:
对按“优先权”进行排序采用的是快排的方式,这样当进程的数目较多时可能会耗费一定的时间。
-Process scheduling simulation program design 2, functions: to achieve the design process scheduling simulation program based on dynamic priority algorithm. 3, the advantages: the procedure given in the beginning of the window when the status of the queue is randomly generated for each process of the " priority" and " time required to run" , and to avoid taking into account the result of the larger number program for a long time into the cycle, (ie, setting the priorities and requirements of the upper and lower running time) You can easily add or remove the number of processes (only need to change the source code MAXN value to other no changes) without affecting the operation of the program, the robustness is good. 4 Disadvantages: Press the " priority" is used to sort the rows of the way fast, may take some time so that when a larger number of processes.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
sourcecode.cpp
sourcecode.exe
Readme.txt
sourcecode.exe
Readme.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.