/CPU-scheduler

The code contains a simple CPU scheduler simulator made all in the programming language C

Primary LanguageC

CPU-scheduler

The code contains a simple CPU scheduler simulator to simulate the scheduling of the following methods:

  • Firts-Come, First-Serve (FCFS);
  • Shortest-Job-First- (SRTF);
  • Priority scheduler;
  • Round Robin (RR).

Compile and Run

Using Linux for example:

  • To compile:

        gcc cpu_scheduler_linux.c -o scheduler
  • To run: To compile, for exemple:

        ./scheduler

Feel free to use and get in touch with any questions.