文件名称:processscheduling

  • 所属分类:
  • 其他小程序
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2013-12-29
  • 文件大小:
  • 294kb
  • 下载次数:
  • 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.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





sourcecode.cpp

sourcecode.exe

Readme.txt

相关说明

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

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org