登录
首页 » Windows开发 » 由用户输入系统进程数(最多50个进程)来模拟优先级调度算法假设进程是同时到达CPU,进程运行时间(1...

由用户输入系统进程数(最多50个进程)来模拟优先级调度算法假设进程是同时到达CPU,进程运行时间(1...

于 2023-01-17 发布 文件大小:2.29 kB
0 164
下载积分: 2 下载次数: 1

代码说明:

由用户输入系统进程数(最多50个进程)来模拟优先级调度算法假设进程是同时到达CPU,进程运行时间(1-10秒)和进程优先级 (1-10,10最高1最低)由程序随机产生,进程有2种状态就绪状态(Ready)和完成状态(Complete)首先根据优先级对进程进行排序,再根据优先级分配时间片运行每次分给进程的时间片为1秒,运行完后需运行时间减1优先级减1转下一个进程。如果进程已经完成就插入到完成队列,如果没有完成就重新插入到就绪队列中的正确位置 程序有两种运行方式: 1、可以直接给出最后的运行结果,进程最后的优先级、 运行完每一个进程的时间及完成进程的总时间,进程最后的状态。 2、可以选择自动运行,过程中显示每一次调度信息包括本次调度进程完成队列信息就绪队列信息等*/ -Process user input from a number of systems (up to 50 processes) to simulate priority scheduling algorithm is the assumption that the process of arrival at the same time CPU, the process of run-time (1-10 seconds) and the process priority class (1-10,10 highest minimum 1) randomly generated by the process, the process has two kinds of status status ready (Ready) and achieve status (Complete) First of all, the process in accordance with the priority ranking, and distribution in accordance with the priority of each time slice to run to the process time slice for the second one, to be run after run-time priority class minus one minus one to t

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • getid.rar id Find
    getid.rar id寻找-getid.rar id Find
    2023-04-02 07:10:04下载
    积分:1
  • website inter
    网站sma intern ini layaknya网站untuk orang dalam hanya untuk orang internal saja tidak mempunyai sistem login pada会员karena hanya digunakan untuk oran dalam dan memiliki berita untuk info terbaru dan file2 yang dapat didownload untuk karyawan guru dan muris ataupun wali murid yang akan melihat pegumuman atau berita terbaru tentang塞科拉阿纳克阿纳克尼亚
    2022-03-13 00:25:21下载
    积分:1
  • 学生信息管理系统
    应用背景 基于winform开发的简单的学生信息管理系统源码,学生管理、成绩管理等功能,适合初学者 可以下载学习学习 关键技术       1、登陆验证        2、学生信息管理        3、课程信息管理        4、成绩信息管理        5、账户信息管理        6、选择菜单:学生信息管理、课程信息管理、成绩信息管理、账户信息管理、密码修改、注销登录、退出系统        7、关于我们
    2022-02-22 04:04:46下载
    积分:1
  • CP1251字库文件,BMP格式,由SetFont Visual Basic程序产生。
    CP1251字库文件,BMP格式,由SetFont Visual Basic程序产生。
    2022-02-01 03:11:18下载
    积分:1
  • 一个小小的赛车游戏的源程序,有兴趣的朋友可以试一试!挺好玩的!...
    一个小小的赛车游戏的源程序,有兴趣的朋友可以试一试!挺好玩的!-a tiny racing game source code. please play this game if you are interested in it. it has so much fun.
    2022-07-01 09:16:53下载
    积分:1
  • picture editor by vc
    VC写的图象编辑器-picture editor by vc
    2022-03-25 16:36:38下载
    积分:1
  • 机器人
    蛇形机器人结构、运动及控制的研究 蛇形机器人结构、运动及控制的研究-robot
    2023-02-06 20:00:04下载
    积分:1
  • jiyudengjiangecaiyangdetuxiangsuoxiao, jiyujubujunzhidetuxiangsuoxiao,
    采用国际标准测试图lena进行测试。分别采用“基于等间隔采样的图像缩小”、“基于局部均值的图像缩小”两种方法进行图像缩小。并附有注释、程序清晰、易于阅读。相信图像初学者阅读后必定会有很大的收益。-jiyudengjiangecaiyangdetuxiangsuoxiao, jiyujubujunzhidetuxiangsuoxiao,
    2022-01-27 18:25:56下载
    积分:1
  • 定时保护视力小工具,适用于长期用电脑者
    定时保护视力小工具,适用于长期用电脑者-regular eyecare small tools, applicable to long-term use of computers
    2023-02-13 04:00:03下载
    积分:1
  • can immediately replace the interface procedures
    可以实时更换程序的界面-can immediately replace the interface procedures
    2023-02-28 00:15:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载