登录
首页 » Visual C++ » process_attemper

process_attemper

于 2007-07-04 发布 文件大小:1189KB
0 190
下载积分: 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 个回复

  • 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
  • job
    操作系统中模拟作业进入内存的状态,作业调度程序(Operating system job scheduler)
    2012-02-01 15:33:53下载
    积分:1
  • Page-replacement
    页面置换算法的模拟实现及命中率对比.通过模拟实现几种基本页面置换的算法,了解虚拟存储技术的特点(Simulation of page replacement algorithm, and the hit rate compared to several basic page replacement algorithm through simulation to understand the characteristics of virtual storage technology)
    2012-03-29 14:59:46下载
    积分:1
  • shiyan4
    广东工业大学计算机学院操作系统4源代码 (Guangdong University of Computer Science 4 source code operating system)
    2013-01-15 17:20:42下载
    积分:1
  • Cpp1
    模拟操作系统进程调度:运行状态,就绪状态和完成状态。包含有first() prisch() insert1(q) creat(gg) prish() roundsch() 函数的引用。(Simulate the operating system process scheduling: running, ready states, and completion status. Contains the first () prisch () insert1 (q) creat (gg) prish () roundsch () function reference.)
    2011-11-19 08:13:15下载
    积分:1
  • Simwumpus
    经典问题魔兽世界(wumpus world)的程序,还比较简单,只能在dos下文字表示,没有图示(classic World of Warcraft (chat world) procedures, but also relatively simple, only under the dos text, there is no icon)
    2020-11-15 13:19:41下载
    积分:1
  • coolPACK
    制冷专业软件,非常实用,可计算制冷系统,制冷剂的物性(Refrigeration professional software is very useful, computable refrigeration system, refrigerant properties)
    2008-07-16 12:49:39下载
    积分:1
  • diantidiaodu
    驱动调度+操作系统+模拟电梯调动的算法程序,使用C++编写。(Driven scheduling algorithm procedures, the+ operating system+ simulated lift mobilize written using the C++.)
    2012-11-14 20:17:03下载
    积分:1
  • program
    作业调度程序,模拟操作系统的作业调度过程,协调和控制各个作业对cpu的使用控制(Job scheduling program to simulate the process of the operating system job scheduling, coordinating and controlling the use of control operations on cpu)
    2011-05-19 17:32:58下载
    积分:1
  • five
    FIFO和LRU页面置换算法,使用c++写的,有功能号,可以选择功能,进行相应的操作!(FIFO and LRU page replacement algorithm, using c++ written in the functional number, you can choose functions to carry out the appropriate action!)
    2010-01-14 16:39:34下载
    积分:1
  • 696518资源总数
  • 104384会员总数
  • 26今日下载