登录
首页 » Visual C++ » process_attemper

process_attemper

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

  • fifo
    页面置换先进先出算法,请大家试试,本人鉴定没问题(FIFO page replacement algorithm, please try, I did not identify the problem)
    2021-01-13 14:18:47下载
    积分:1
  • 可变分区
    说明:  可变分区,一个很重要的操作系统原代码,很详细的拉,个人下载参考参考。(Variable Division, a very important source operating system, a very detailed and pulling personal information. Download.)
    2006-01-10 20:58:02下载
    积分: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
  • fptree
    FP-growth算法的改进C++程序,具有较好的扩展性和应用性,本程序改成用行读取,然后在内存中解析。更有效的方式是采用块读取方式(本人在以前项目中验证过,速度大为提高。)(FP-growth algorithm C++ Procedures, have good scalability and application, the procedure changed to use line to read, and then resolve in memory. More effective approach is the use of block-read mode (I tested before the project, speed greatly improved.))
    2008-02-23 11:36:19下载
    积分:1
  • Operating-System-B-test-reports
    开发一个仿真操作系统,要求具备进程调度、存储器管理、文件及设备管理等基本功能(The development of a simulation operating system, requires scheduling process, the basic functions of memory management, file and device management)
    2015-05-16 12:35:39下载
    积分:1
  • hpa48
    HPA就是host protect area(HPA is the host protect area)
    2007-09-17 09:10:12下载
    积分: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
  • Storage_Simulator0001
    在采用多道程序设计的系统中,往往有若干个进程同时处于就绪状态。当就绪进程个数大于处理机数时,就必须依照某种策略来决定哪些进程优先占用处理机。本实验模拟在单处理机情况下的处理机调度,帮助学生加深了解处理机调度的工作。 二、实验类型 设计型。 三、预习内容 预习课本处理机调度有关内容,包括进程占用处理机的策略方法。 四、实验要求与提示 设计进程调度算法,进程数不定;包含几种调度算法,并加以实现;输出进程的调度过程——进程的状态、链表等。要求使用优先权法和轮转法模拟进程调度过程。 【提示】:简化假设 1) 进程为计算型的(无I/O) 2) 进程状态:ready、running、finish 3) 进程需要的CPU时间以时间片为单位确定 【提示】:算法描述 1) 优先权法——动态优先权,当前运行进程用完时间片后,其优先权减去一个常数。 2) 轮转法 (err)
    2008-06-12 19:04:46下载
    积分:1
  • shiyan4
    广东工业大学计算机学院操作系统4源代码 (Guangdong University of Computer Science 4 source code operating system)
    2013-01-15 17:20:42下载
    积分:1
  • PCB
    pcb实现。。进程管理。就绪队列,阻塞队列实现(pcb to achieve)
    2011-11-23 13:38:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载