登录
首页 » Visual C++ » process_attemper

process_attemper

于 2007-07-04 发布 文件大小:1189KB
0 131
下载积分: 1 下载次数: 96

代码说明:

  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.)

文件列表:

进程调度
........\deal.cpp
........\deal.dsp
........\deal.dsw
........\deal.ncb
........\deal.opt
........\deal.plg
........\Debug
........\SeqPQueue.h
........\进程调度实验报告.doc

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • system
    操作系统作业源代码,方便学习操作系统课程的同学使用 (this is the codes for students who learn computer system.)
    2013-12-30 21:07:39下载
    积分:1
  • reply_1_646228
    银行家算法,希望大家喜欢(bankers algorithm, hope you like)
    2004-11-10 19:41:05下载
    积分:1
  • FIFOLRU
    1.虚拟存储器的引入 局部性原理:程序在执行时在一较短时间内仅限于某个部分;相应的,它所访问的存储空间也局限于某个区域,它主要表现在以下两个方面:时间局限性和空间局限性。 2.虚拟存储器的定义 虚拟存储器是只具有请求调入功能和置换功能,能从逻辑上对内存容量进行扩充的一种存储器系统 (1. The introduction of virtual memory locality principle: program execution in a relatively short period of time limited to a particular part of it Accordingly, it has access to the storage space is also limited to a particular region, it is mainly manifested in the following two aspects: the time limitations and space limitations. 2. The definition of virtual memory Virtual memory is just a request for redeployment of functions and displacement functions, from the logical to expand the memory capacity of a memory system)
    2010-01-08 15:10:19下载
    积分:1
  • Bankers-algorithm-simulation
    银行家算法模拟,适用于计算机操作系统课程设计的银行家算法的实现。(Bankers algorithm simulation for realization of computer courses on operating system design bankers algorithm.)
    2015-12-14 13:34:41下载
    积分:1
  • hujianbo
    我的银行家算法,大家来看看。 若要密码 265913(I bankers algorithm, we take a look at. To password 265913)
    2007-01-05 16:48:04下载
    积分:1
  • MyProcess
    MFC实现的,界面有好,实现了进程调度的算法 能够模拟操作系统的进程调度 适合初学者(MFC implementation, the interface is good, a process scheduling algorithm to achieve To simulate the operating system process scheduling for beginners)
    2011-12-02 11:30:08下载
    积分:1
  • code
    哈夫曼编码和解码 LRU算法模拟 银行家算法模拟 页面地址重定位模拟 进程调度模拟 FIFO算法模拟(Huffman encoding and decoding algorithm simulates LRU algorithm simulation banker page address relocation simulation process scheduling simulation algorithm FIFO simulation)
    2017-02-03 09:11:55下载
    积分: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
  • operatingsystem
    操作系统页面置换 调度 寻道程序 简短使用(Page seek replacement operating system scheduling procedures)
    2009-05-17 08:09:54下载
    积分:1
  • S_Shell
    说明:  用标准C实现shell功能,是操作系统的作业,Linux里面的she(Shell to achieve using standard C function, the operation is the operating system, Linux inside she)
    2008-11-19 22:55:02下载
    积分:1
  • 696524资源总数
  • 103920会员总数
  • 65今日下载