This repository contains C code implementation for the Fair Share Scheduler
This file contains the jobs that are to be scheduled
First line represents the number of jobs to be scheduled
Each job has 3 lines
First line: Group id, Base Priority, Arrival Time, Number Of CPU Bursts
Second line: The array Worst Case CPU bursts
Third Line: The array of I/O bursts (No line if it's a CPU bound process)
Number of IO bursts is always assumed to be one less than number of CPU bursts
To run the code:
make
./a.out <input_file> <time_slice>