文件名称:os3
介绍说明--下载内容均来自于网络,请自行研究使用
设系统有4个CPU并行处理提交(创建)的作业(进程)。作业(进程)的提交(创建)时刻从0开始计时,每隔一时间间隔(随机数)提交(创建)一作业(进程),作业(进程)运行需要的CPU时间也是一个随机数。每个CPU上有一就绪队列,提交(创建)的作业(进程)总是卦到长度最短的就绪队列上。试编一模拟程序统计一个工作日(8小时)内,作业(进程)的平均周转时间和系统的吞吐量(处理的作业(进程)数)。
-Based system has 4 CPU parallel processing to submit (create) operation (process). Operation (process) to submit (create) moments from 0 beginning of time, at intervals of one time interval (random number) to (create) one operation (process), operations (process) to run the CPU time required is a random number. On each CPU has one ready queue, the author (create) operation (process) is always hexagram to the length of the shortest on the ready queue. Trial compilation of statistics on a simulation program one day (8 hours), the operations (processes) the average turnaround time and system throughput (the operating handle (process) number).
-Based system has 4 CPU parallel processing to submit (create) operation (process). Operation (process) to submit (create) moments from 0 beginning of time, at intervals of one time interval (random number) to (create) one operation (process), operations (process) to run the CPU time required is a random number. On each CPU has one ready queue, the author (create) operation (process) is always hexagram to the length of the shortest on the ready queue. Trial compilation of statistics on a simulation program one day (8 hours), the operations (processes) the average turnaround time and system throughput (the operating handle (process) number).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
试做上机题3.cpp