登录
首页 » Visual C++ » process_attemper

process_attemper

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

  • 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
  • simple-file
    简单的文件系统试验源代码,可用于操作系统的大型实验~~(Simple test source code of the file system, the operating system can be used for large-scale experiments to ~)
    2013-01-06 14:34:35下载
    积分: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
  • PlayWithDataStructureSourceCode
    本教材以操作系统原理为主线,结合当今主流操作系统设计方法。(The principles of materials to the main line operating system, combined with today' s mainstream operating system design.)
    2011-11-01 17:18:27下载
    积分:1
  • a.c
    dos 工具 用老版本的gcc编译,否则会出错(dos tools with older versions of THING)
    2016-07-11 08:01:26下载
    积分:1
  • shiyan4
    广东工业大学计算机学院操作系统4源代码 (Guangdong University of Computer Science 4 source code operating system)
    2013-01-15 17:20:42下载
    积分:1
  • OSDemo
    操作系统实验演示代码(三个实验,作业管理,内存管理,文件管理)(Experimental demonstration of the operating system code (three experiments, operations management, memory management, document management))
    2020-06-26 11:00:02下载
    积分:1
  • vb+sql
    根据餐饮行业的特点和该企业的实际情况,该系统应以餐饮业务为基础,突出前台管理,从专业角度出发,提供科学有效的管理模式。点菜方面采取图形界面加数据的方式,使用户能直观地管理数据信息,并能有效地管理每个开台的房间台号所点的酒菜。点菜收银管理可实现点菜、转台、并台、结账、清台。库房管理可记录商品入库、出库情况。营业分析可对客人点单情况、房台营业情况、酒菜销售情况、销售收入等进行分析。点菜收银、营业分析、库房管理的有机结合,可为酒店经营方向提供依据,为酒店餐馆的发展提供重要保证。 根据该企业的具体情况,系统主要功能设计有五大部分,分别为前台管理、营业管理、财政管理、辅助管理、系统管理。 1、前台管理:主要是对餐饮前台收银的管理。包括接待预定、点菜收银和吧厨出品。 2、营业管理:包括房间台号管理和员工信息管理。 3、财政管理:主要是对财务方面的管理。包括点单查询和会员查询。 4、辅助管理:主要是对基础信息的管理。包括会员管理各员工管理。 5、系统管理:包括重新登录和退出系统。 (err)
    2020-12-13 09:39:15下载
    积分:1
  • 模拟进程调度
    模拟操作系统进程调度的算法采用时间片轮转法和优先权法(operating system simulation process scheduling algorithm-time Web-law and law priority)
    2005-05-15 19:51:27下载
    积分:1
  • 696518资源总数
  • 106005会员总数
  • 36今日下载