登录
首页 » Visual C++ » process_attemper

process_attemper

于 2007-07-04 发布 文件大小:1189KB
0 235
下载积分: 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
  • yinhangjiasuanfa
    这是我做的操作系统里面的银行家算法的源程序,发上来供大家参考。(caozuoxitongyinhangjiasuanfa)
    2009-05-22 23:40:08下载
    积分:1
  • 可变分区
    说明:  可变分区,一个很重要的操作系统原代码,很详细的拉,个人下载参考参考。(Variable Division, a very important source operating system, a very detailed and pulling personal information. Download.)
    2006-01-10 20:58:02下载
    积分:1
  • 模拟进程调度
    模拟操作系统进程调度的算法采用时间片轮转法和优先权法(operating system simulation process scheduling algorithm-time Web-law and law priority)
    2005-05-15 19:51:27下载
    积分:1
  • fl2
    操作系统 实验二 进程同步与互斥 实现的基本的进程的同步、互斥,并用银行家算法实现与死锁预防(Second, the process of experimental operating system synchronization and mutex realize the basic process synchronization, mutual exclusion, and bankers with the deadlock prevention algorithm)
    2008-04-21 15:51:39下载
    积分:1
  • ch01
    说明:  ucos2 vc++移植代码 通过VC++编译,每2S显示一次任务(ucos2 vc++ code migration)
    2010-03-18 21:32:43下载
    积分:1
  • ddos
    非常强大的DDOS嘎嘎,速度下载把,版权帝们,(Very strong DDOS quack)
    2014-01-30 19:18:33下载
    积分:1
  • txNFlFCf
    说明:  消费代码.用于操作系统中的课程设计使用.愿大家提供建议我也好改进算法(Consumer code. For the operating system to use the curriculum design. I would like to provide recommendations to improve the algorithm or)
    2008-11-21 17:27:31下载
    积分:1
  • 用login二级目录的文件
    这个程序是模拟采用二级目录结构的磁盘文件系统中的文件操作,它可以实现对文件的一些基本管理,如:读、写、删除文件等。通过这个程序可掌握文件子系统的原理,加深对二级目录结构的文件系统中用户管理、文件管理、目录管理的理解,并用程序实现对文件子系统的模拟。(the procedure is simulated using two disk directory structure of the file system file manipulation, it can be achieved on some basic document management, such as : read, write, delete files. Through this procedure can grasp the principle document subsystems to enhance the structure of the two file system user management, document management, directory management, understanding, and the procedures to achieve the right documents subsystem simulation.)
    2020-12-12 20:29:16下载
    积分:1
  • job
    操作系统中模拟作业进入内存的状态,作业调度程序(Operating system job scheduler)
    2012-02-01 15:33:53下载
    积分:1
  • 696518资源总数
  • 104824会员总数
  • 34今日下载