Description: 先来先服务(FCFS)算法、短作业优先(SJF)算法、高响应比(HRN)算法和高优先权算法来实现作业调度算法的模拟。
(1) 算法采用下式计算响应比:
等待时间waittime
需要运行时间requesttime
(2) 高优先权算法采用下述公式计算优先权:
优先权priority*等待时间waittime
需要运行时间requesttime*紧迫程度quick
-First Come First Served (FCFS) algorithm, the priority short operation (SJF) algorithm, a high response ratio (HRN) algorithm and high-priority scheduling algorithm to achieve the simulation algorithm. (1) algorithm of computing response ratio: latency time waittime need to run requesttime (2) high-priority algorithm is calculated using the following priority: the priority of the waiting time priority* need to run waittime time requesttime* degree of urgency quick Platform: |
Size: 136192 |
Author:hghh |
Hits: