-
Storage_Simulator0001
在采用多道程序设计的系统中,往往有若干个进程同时处于就绪状态。当就绪进程个数大于处理机数时,就必须依照某种策略来决定哪些进程优先占用处理机。本实验模拟在单处理机情况下的处理机调度,帮助学生加深了解处理机调度的工作。
二、实验类型
设计型。
三、预习内容
预习课本处理机调度有关内容,包括进程占用处理机的策略方法。
四、实验要求与提示
设计进程调度算法,进程数不定;包含几种调度算法,并加以实现;输出进程的调度过程——进程的状态、链表等。要求使用优先权法和轮转法模拟进程调度过程。
【提示】:简化假设
1) 进程为计算型的(无I/O)
2) 进程状态:ready、running、finish
3) 进程需要的CPU时间以时间片为单位确定
【提示】:算法描述
1) 优先权法——动态优先权,当前运行进程用完时间片后,其优先权减去一个常数。
2) 轮转法
(err)
- 2008-06-12 19:04:46下载
- 积分:1
-
rre-cocos2d-the
cocos2d lua版本不支持lfs文件操作系统,所以得集成进cocos2d lua的环境中(Cocos2d lua version operating system LFS files is not supported, so have to integrate into the environment of cocos2d lua)
- 2017-04-16 22:47:00下载
- 积分:1
-
txNFlFCf
说明: 消费代码.用于操作系统中的课程设计使用.愿大家提供建议我也好改进算法(Consumer code. For the operating system to use the curriculum design. I would like to provide recommendations to improve the algorithm or)
- 2008-11-21 17:27:31下载
- 积分:1
-
EOSApp
1)设计一程序,由一个进程创建三个子进程,三个子进程一个是生产者进程,两个是消费者进程。
2)父子进程都使用父进程创建的共享存储区进行通信,由生产者进程将一个数组中的十个数值发送到由5个缓冲区组成的共享内存中。?
3)两个消费者进程轮流接收并输出这十个数值,同时将两个消费者进程读出的数值进行累加求各和。
4)考虑生产者进程生产的速度和消费者进程速度。(1) a program is designed to create three sub processes from one process, three sub processes is the producer process, and the two is the consumer process.
2) the father child process communicates with the shared storage area created by the parent process, and sends ten values in one array to the shared memory composed of 5 buffers by the producer process. L
3) the two consumer processes take turns to receive and output the ten values, and add values to each of the two consumer processes.
4) take into account the production speed of the producer process and the speed of the consumer process.)
- 2020-12-23 09:19:08下载
- 积分:1
-
zhexuejia
哲学家用筷子的问题,能够直接执行在u-cos环境下(Philosopher with chopsticks, able to direct the implementation of the u-cos environment)
- 2012-11-30 12:11:56下载
- 积分:1
-
timepieces
时间片轮转法,运行进程用完它的时间片后还未完成,就送到就绪队列队尾(time change once have fishes return to next last)
- 2009-04-13 01:30:37下载
- 积分:1
-
DOS源码
说明: dos源码,国产的,不是ms-dos,可以学习,非常好用(dos code,made in china ,not ms-dos)
- 2020-06-16 09:00:01下载
- 积分:1
-
geekos-0.3.0
Geekos 全部project,基于Geekos的操作系统设计与实现(all the geekos project)
- 2017-12-02 09:36:17下载
- 积分:1
-
fptree
FP-growth算法的改进C++程序,具有较好的扩展性和应用性,本程序改成用行读取,然后在内存中解析。更有效的方式是采用块读取方式(本人在以前项目中验证过,速度大为提高。)(FP-growth algorithm C++ Procedures, have good scalability and application, the procedure changed to use line to read, and then resolve in memory. More effective approach is the use of block-read mode (I tested before the project, speed greatly improved.))
- 2008-02-23 11:36:19下载
- 积分:1
-
modbuspp-master
说明: Modbus master orange
- 2020-08-21 15:10:02下载
- 积分:1