Description: 操作系统:模拟磁盘调度算法
课题要求:●建立相应的数据结构
●在屏幕上显示磁盘请求的服务状况
●时间的流逝可用下面方法模拟:
(a)按键盘,没按一次可认为过了一个时间单位
(b)响应WM_TIMER
●将一批磁盘请求的情况存磁盘文件,以后可以读出并重放
●支持算法:FIFO,SSTF,SCAN,CSCAN,FSCAN
-Operating Systems: simulation of disk scheduling algorithm subject requirements: ● the establishment of the corresponding data structure displayed on the screen ● disk status of the requested service ● time simulation can be used the following methods: (a) by the keyboard, not by one that had a time units (b) in response to a number of disk WM_TIMER ● request keep the disk files, then you can read and playback ● support algorithm: FIFO, SSTF, SCAN, CSCAN, FSCAN Platform: |
Size: 2051072 |
Author:jiabin |
Hits:
Description: 编程序实现下述磁盘调度算法,并求出每种算法的平均寻道长度,要求设计主界面以灵活选择某算法,且以下算法都要实现:
1、先来先服务算法(FCFS)
2、最短寻道时间优先算法(SSTF)
3、扫描算法(SCAN)
4、循环扫描算法(CSCAN)
-Programmed to achieve the following disk scheduling algorithm, and calculated for each algorithm the average seek length, the main interface to design a flexible choice of a certain algorithm, and must realize the following algorithm: 1, first-come first-serve algorithm (FCFS) 2, Shortest Seek Time priority algorithms (SSTF) 3, scan algorithm (SCAN) 4, cycle scan algorithm (CSCAN) Platform: |
Size: 603136 |
Author:CLJ |
Hits: