Description: 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).
To Search:
- [rand1-9] - Used to generate random number function,
File list (Check if you may need any files):
试做上机题3.cpp