Skip to content

The-Danx/comp30023-project-1

Repository files navigation

COMP30023 Project 1 - CPU Scheduler

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. Screen Shot 2022-03-16 at 5 03 09 pm

Usage

Compiling

make clean && make

Running

./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.

About

A simulator of a CPU scheduler that can handle multiple processors and parallelisable processes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published