
Details: there is only one CPU, each program must first after the CPU to calculate again for I/O operation, after to the I/O operations again after the program on A CPU, each program operation of I/O devices for the same, suppose you have two programs, A, B, A first take up cpu30ms, then the need for I/O operations of 20 ms, then the program can B for CPU operation, after 20 ms I/O operations at the same time A program come back CPU...
Need to implement the input number need to run the program, and then input respectively each procedure of CPU time, and I/O time and CPU time, according to the order of input program execution,
Graphical simulation program of CPU and I/O devices and display the running all the time,
Should be the actual operation diagram by programming, there will be big trouble guidance, integral additive,

CodePudding user response:

CodePudding user response:
Top