-
process_attemper
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 number in operation during the entire process will not change. priority number in the designated input data, can be reached under the order, running time determine. b) dynamic priority number refers to several priorities for the process of the creation process can be given an initial value, and according to the principle of amending certain priority number.)
- 2007-07-04 12:57:51下载
- 积分:1
-
AT24C256
这些源码有的是我自已公司使用的一些实用的程序,有些是非常有用的文档资料(Some of these source code used by the company I own a number of practical procedures, and some are very useful documentation)
- 2007-10-18 13:29:37下载
- 积分:1
-
ORDER
数组变换!逆序,将数组倒置!将一个二维数组行和列元素互换后到另一个二维数组中(Array transformation ! Reverse , the array upside down ! Will be a two-dimensional array of rows and columns after the swap element into another two-dimensional array)
- 2013-11-19 14:32:21下载
- 积分:1
-
CBC_AES_NoPadding_PKCS5Padding
MFC工程,实现AES CBC 128bit NoPading和PKCS5Pading的功能(MFC AES CBC 128bit NoPading project implementation, and the function of PKCS5Pading)
- 2017-11-03 11:18:17下载
- 积分:1
-
主程序
本程序可实现基于51单片机的电子秤数据采集、滤波、显示功能。
称重范围:0-1000g
分辨率: 0.1g
测试精度:0.2g
设计架构:采用弹性悬臂梁贴应变片的传感器结构,应变片采用全桥连接。电桥输出经AD芯片发送给微处理器,微处理器经过数据处理后显示。(This program can realize the functions of data acquisition, filtering and display of electronic scale based on 51 single chip computer.
Weighing range: 0-1000g
Resolution: 0.1g
Testing accuracy: 0.2g
Design framework: The sensor structure of elastic cantilever beam with strain gauge is adopted, and the strain gauge is connected by full bridge. The output of the bridge is sent to the microprocessor by AD chip, and the microprocessor is displayed after data processing.)
- 2019-05-12 13:14:29下载
- 积分:1
-
WAVE音频编辑源代码
WAVE音频编辑,支持、复制/剪切/删除/粘贴操作;支持 SP/SPS/SSP/SPSP 播放模式,可把选定的音频数据独立保存为文件,可快/慢速播放,显示波形,可录音。(WAVE audio editing, support, copy/shear/delete/paste operations; Support SP/SPS/SSP/SPSP player mode can be selected to preserve the audio data for the paper, can be fast/slow playback, display waveforms Recordable.)
- 2005-07-18 11:32:39下载
- 积分:1
-
FF-RLST
系统辨识中的递归最小二乘参数估计的matlab程序算法(System Identification of recursive least-squares parameter estimation algorithm matlab program)
- 2011-10-18 15:53:08下载
- 积分:1
-
E85F_库文件_C_V05(1)
51例程,各功能列子,教程,并包含tk函数(Routine, each function column sub, tutorial, and contains tk functions)
- 2020-06-20 05:00:01下载
- 积分:1
-
code1
代码去注释,C++描述,趋势科技2011笔试题,修改网上一些版本的代码错误(Code to comments, C++ description, Trend Micro 2011 pen questions, modified version of the code line number of error)
- 2010-11-29 20:56:10下载
- 积分:1
-
超声波跟随(用舵机)
说明: 基于89C52单片机的超声波探测跟踪小车的设计程序,注释说明完整详尽(Based on 89C52 single-chip computer, the design procedure of the ultrasonic detection and tracking car is described in detail.)
- 2019-06-12 16:09:03下载
- 积分:1