Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 492 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 492 Bytes

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.