A simulator of a CPU scheduler that can handle multiple processors and parallelisable processes. Implemented with the shortest-time-remaining algorithm to schedule processes. Also includes statistics on performance.
make clean && make
./allocate -f <path/to/input> [-p] <numberOfProcessors> [-c]
-f filename will specify the name of the file describing the processes.
-p processors where processors is one of {1,2,N}, N ≤ 1024.
-c an optional parameter, when provided, invokes a different scheduling algorithm aimed at improving performance.