-
1 : Prepare a simulation and debugging process scheduling procedures, "Prio...
1、 :编写并调试一个模拟的进程调度程序,采用“最高优先数优先”调度算法对进程进行调度。 “最高优先数优先调度算法的基本思想是把CPU分配给就绪队列中优先数最高的进程。尝试静态优先数与动态优先数两种方法:
a) 静态优先数是指优先数在整个进程运行期间不再改变。优先数可以在数据输入时指定,也可以根据到达顺序、运行时间确定。
b) 动态优先数是指进程的优先数在创建进程时可以给定一个初始值,并且可以按一定原则修改优先数。例如进程获得一次CPU后就将其优先数减少1。或者进程等待的时间超过某一时限时增加其优先数的值。
2、 编写并调试一个模拟的进程调度程序,模拟实现多级反馈队列调度算法。
3、 编写并调试一个模拟的进程调度程序,模拟实现最低松弛度优先算法。
4、 程序与报告要求:
a) 对上述要求1、2、3,至少要完成一项,鼓励尝试多种算法。
b) 输出结果要尽量详细清晰,能够反映调度后队列变化,PCB内部变化。
c) 可以选择在Windows或Linux环境下编写、运行程序
d) 鼓励使用不同的开发工具在不同平台环境上进行开发比较。
e) 在实验报告中,一方面可以对实验结果进行分析,一方面可以对各种算法进行比较,分析它们的优劣,说明各种算法适用于哪些情况下的调度。
-1 : Prepare a simulation and debugging process scheduling procedures, "Priority number of the highest priority" to the process of scheduling algorithms for scheduling. "Highest priority priority scheduling algorithm for the basic idea is to place the CPU allocated to the priority queue highest process. Taste Examination several static and dynamic priority priority number two methods : a) static priority number is priority
- 2022-03-26 12:38:45下载
- 积分:1
-
RAM中文资料,面向A R M 微处理器构架的嵌
入式操作系统的使用量将在今后五
年持续增长,在各种嵌入式操作系
统中,Linux是获得支持最多的第...
RAM中文资料,面向A R M 微处理器构架的嵌
入式操作系统的使用量将在今后五
年持续增长,在各种嵌入式操作系
统中,Linux是获得支持最多的第三
大力量。-RAM Chinese data, M A R-oriented architecture microprocessor embedded operating system used in the next five years will be continued growth Embedded in the various operating systems, Linux is supported by most third-largest force.
- 2022-07-04 23:43:16下载
- 积分:1
-
C#模仿超级终端
C#模仿超级终端
利用C# Visual Studio 2010来开发的,模仿windows下的超级终端程序实现串口通讯
主要功能,打开串口,设置波特率等等,可以参考。
- 2022-01-24 17:11:08下载
- 积分:1
-
C语言精华例题,读懂了这14个例题,你的C语言水平将有质的飞跃!所有代码均正确无误!...
C语言精华例题,读懂了这14个例题,你的C语言水平将有质的飞跃!所有代码均正确无误!-C language essence of excellence, understood that 14 of excellence, your C language level will be a qualitative leap! All of the code are correct!
- 2022-02-27 05:03:54下载
- 积分:1
-
WinCE5.0部分核心源码
WinCE5.0部分核心源码-part of the core source WinCE5.0
- 2022-02-04 11:37:00下载
- 积分:1
-
This is the ASUS EEPC card driver linux driver source code is to study a good ma...
这是华硕EEPC卡驱动程序linux驱动程序的源代码,是学习的好材料
- 2022-08-23 12:06:56下载
- 积分:1
-
进程同步
进程同步 -- 写者优先-process synchronization-- priority
- 2023-07-02 22:50:03下载
- 积分:1
-
基于莱昂氏unix的x86实现代码
基于莱昂氏unix的x86实现代码,或者说是unix的x86实现代码丰富非常适合学习操作系统原理
- 2022-11-21 12:05:03下载
- 积分:1
-
银行家算法C源代码参考,完整的源代码,可以直接编译
银行家算法C源代码参考,完整的源代码,可以直接编译-VC
- 2023-01-05 21:55:03下载
- 积分:1
-
This is a banker algorithm performance of a procedure
这是银行家算法表现的一个程序-This is a banker algorithm performance of a procedure
- 2022-02-03 23:10:12下载
- 积分:1