Introduction - If you have any usage issues, please Google them yourself
The design of the process scheduling algorithm
Design requirements:
① design process control block PCB table structure, priority scheduling algorithm and round-robin scheduling algorithm.
(2) establish a process ready queue. Prepared two different algorithms into the chain program.
(3) the preparation of two types of process scheduling algorithm: 1) priority scheduling 2) round-robin scheduling
Design technical parameters reference:
① This procedure using two algorithms for five processes, scheduling, each process has three states, and assuming that the initial state to the ready state.
(2) In order to facilitate the processing units of a process to run longer in the program in time slices. Process priority number or the number of rotation time and the process will need to run the initial value of the number of time slices given by the user.
The ③ priority number algorithm, priority number is 50 and the difference of the running time, that P_TIME-process-> n