-
由用户输入系统进程数(最多50个进程)来模拟优先级调度算法假设进程是同时到达CPU,进程运行时间(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
- 2023-01-17 10:50:04下载
- 积分:1
-
文件传输控件
一个VB文件传输控件(局域网)
一个VB文件传输控件(局域网)一个VB文件传输控件(局域网)一个VB文件传输控件(局域网)一个VB文件传输控件(局域网)一个VB文件传输控件(局域网)一个VB文件传输控件(局域网)一个VB文件传输控件(局域网)一个VB文件传输控件(局域网)
一个VB文件传输控件(局域网)一个VB文件传输控件(局域网)
- 2023-06-20 01:20:04下载
- 积分:1
-
Tarak
Tarak-Tarak是一个移动机器人模拟器。它允许用户从一个经典类型和传感器集合来设计一个移动机器人平台,编程处理机器人的行为,打接着在一个用户定义的环境中模拟机器人。这个程序是用C++编写的-Tarak- Tarak is a mobile robot simulator. It allows users to a classic type and sensors designed to set a mobile robot platform, Robot Programming, then play in a user-defined environment simulated robot. The procedure is used to prepare the C
- 2022-06-30 19:23:07下载
- 积分:1
-
程序bchdesigner可以用来对一个给定的COD一个二进制BCH码的设计…
程序bchdesigner可用于设计给定码长n的二进制BCH码、设计纠错能力t和启动
- 2022-04-11 04:58:38下载
- 积分:1
-
open ended project to develop an object oriented library system
开发面向对象图书馆系统的开放式项目
- 2023-04-14 17:35:03下载
- 积分:1
-
PCB布线
pcb布线-PCB wiring
- 2022-02-02 12:25:37下载
- 积分:1
-
mouse_movement
应用背景伟大的软件用PASCAL跟踪鼠标移动关键技术这个程序是模拟鼠标移动,它的真的有很大的方式来做它
- 2022-01-25 18:35:10下载
- 积分:1
-
lcd1604protues仿真 + keil源文件
lcd1604protues仿真 + keil源文件 已经可以成功运行
- 2023-03-14 06:55:03下载
- 积分:1
-
中文,人人能懂,可以帮你编写高质量的C++程序,让你两冀生风
中文,人人能懂,可以帮你编写高质量的C++程序,让你两冀生风-A easy user guide in Simplified Chinese, which let you feel the programming is very simple.
- 2022-08-19 20:24:41下载
- 积分:1
-
a tse taata aatata asdfs
a tse taata aatata asdfs
- 2022-02-10 11:50:44下载
- 积分:1