The simulator engine should be invoked from a command line with passed parameters or with an input dialog box to receive parameters. The parameters passed to the program will be the number of the processes, the order to initialize and start them, and the number of total time ticks to run the simulation. As the program runs the user should be able to press certain keys to cause interrupts to occur. Processes will have programmed system requests, such as for an I/O service, that will cause the scheduler to put them in the blocked state and in the waiting queue for that service. A random number generator can be used to determine the time that any service takes to complete and generate an interrupt.
The simulation run will print a string of text messages indicating which process is running, when it generates a service request, when an interrupt occurs, when a context switch occurs, and the state of each process on each context switch.
Use Patent Claims
Include Install Instructions
These details are provided for information only. No information here is legal advice and should not be used as such.