-
Storage_Simulator0001
在采用多道程序设计的系统中,往往有若干个进程同时处于就绪状态。当就绪进程个数大于处理机数时,就必须依照某种策略来决定哪些进程优先占用处理机。本实验模拟在单处理机情况下的处理机调度,帮助学生加深了解处理机调度的工作。
二、实验类型
设计型。
三、预习内容
预习课本处理机调度有关内容,包括进程占用处理机的策略方法。
四、实验要求与提示
设计进程调度算法,进程数不定;包含几种调度算法,并加以实现;输出进程的调度过程——进程的状态、链表等。要求使用优先权法和轮转法模拟进程调度过程。
【提示】:简化假设
1) 进程为计算型的(无I/O)
2) 进程状态:ready、running、finish
3) 进程需要的CPU时间以时间片为单位确定
【提示】:算法描述
1) 优先权法——动态优先权,当前运行进程用完时间片后,其优先权减去一个常数。
2) 轮转法
(err)
- 2008-06-12 19:04:46下载
- 积分:1
-
TextCoreData
文本的核心数据,精选ios编程学习源码,很好的参考资料。(The core data text, select learning IOS programming source code, a good reference.)
- 2013-12-14 08:54:53下载
- 积分:1
-
pws-setup-enowsoft
php服务器win2000adv+php5.0+iis+apache2+mysql+perl (php server
win2000adv+php5.0+iis+apache2+mysql+perl )
- 2009-02-19 08:15:14下载
- 积分: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
-
readers_writers_prob
C implementation of the readers writers problem !
- 2010-01-28 02:32:21下载
- 积分:1
-
33
说明: 作业调度——先来先服务,最短作业优先,最高响应比优先(Job scheduling- a first-come first-served, shortest job first, highest priority response ratio)
- 2011-07-01 19:41:37下载
- 积分:1
-
Software__1.0.3
步进电机控制软件,可采用4、8、16、32、64、128细分,最大512细分(Stepper motor control software, can be used 4,8,16,32,64,128 subdivision, the largest 512 subdivision)
- 2017-04-20 09:53:28下载
- 积分:1
-
ALIENTEK MINISTM32 AD7124
说明: 用STM32与AD7124设计用于测温的系统(STM32 and AD7124 tempreture control)
- 2021-03-02 16:39:33下载
- 积分:1
-
dex-os-kernel-1.035-src
开源操作系统,提供很好的扩展性。可供各位研究(Open-source operating system, providing good scalability. Research for you)
- 2009-07-15 20:41:33下载
- 积分:1
-
AAron-Hileglas-Objective-C-programming-for-iOS-an
ios Mac os programming
- 2013-09-14 22:01:28下载
- 积分:1