登录
首页 » Visual C++ » Storage_Simulator0001

Storage_Simulator0001

于 2008-06-12 发布 文件大小:902KB
0 218
下载积分: 1 下载次数: 16

代码说明:

  在采用多道程序设计的系统中,往往有若干个进程同时处于就绪状态。当就绪进程个数大于处理机数时,就必须依照某种策略来决定哪些进程优先占用处理机。本实验模拟在单处理机情况下的处理机调度,帮助学生加深了解处理机调度的工作。 二、实验类型 设计型。 三、预习内容 预习课本处理机调度有关内容,包括进程占用处理机的策略方法。 四、实验要求与提示 设计进程调度算法,进程数不定;包含几种调度算法,并加以实现;输出进程的调度过程——进程的状态、链表等。要求使用优先权法和轮转法模拟进程调度过程。 【提示】:简化假设 1) 进程为计算型的(无I/O) 2) 进程状态:ready、running、finish 3) 进程需要的CPU时间以时间片为单位确定 【提示】:算法描述 1) 优先权法——动态优先权,当前运行进程用完时间片后,其优先权减去一个常数。 2) 轮转法 (err)

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

发表评论

0 个回复

  • ddos
    非常强大的DDOS嘎嘎,速度下载把,版权帝们,(Very strong DDOS quack)
    2014-01-30 19:18:33下载
    积分: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
  • process_attemper
    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.)
    2007-07-04 12:57:51下载
    积分:1
  • distributionofstoragemanagementandrecovery
    模拟段式存储管理的分配与回收,能够输入给定的内存大小,进程的个数,每个进程的段数及段大小;当某进程提出申请空间的大小后,显示能否满足申请,以及为该进程分配资源后有关内存空间使用的情况。 (Analog-stage distribution of storage management and recovery, be able to enter a given memory size, number of processes, each process segment number and segment size when a space the size of the application process, the show can meet the application, as well as the The process, after the allocation of resources relating to the use of memory space.)
    2020-09-17 16:37:55下载
    积分: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
  • 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
  • Filesystem
    磁盘文件系统:建立基于磁盘存储设备的UNIX文件系统,在windows系统下模拟UNIX文件管理系统,可用命令行进行基本的文件操作。(Disk file system: the UNIX file system based disk storage devices in the windows system simulation UNIX file management system, basic file operations available command line.)
    2013-04-25 14:32:48下载
    积分:1
  • HB_COM
    可以控制标签的各种状态,包括大小,字体等等,只要你能想到(Can control a variety of status labels, including size, fonts, etc., as long as you can think of)
    2008-04-15 19:22:25下载
    积分:1
  • ss
    说明:  请求页式虚存管理是常用的虚拟存储管理方案之一。通过请求页式虚存管理中对页面置换算法的模拟,有助于理解虚拟存储技术的特点,并加深对请求页式虚存管理的页面调度算法的理解。(Page requests virtual memory management is commonly used in the virtual storage management, one of the options. Page through the request of the management of virtual memory page replacement algorithm for simulation, helping to understand the characteristics of virtual storage technology, and better understanding of the request for virtual memory management Page page scheduling algorithm understanding.)
    2008-06-20 21:20:07下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载