The data regarding process are read from input file and processess are sorted according to the order of their arrival time.
FCFS - First Come First Serve
SJF - Shorstest Job First
HRRN - Highest Response Ratio Next
Priority - Priority
SRTN - Shortest Response Ratio Next
RR - Round Robin
The output of the simulator is of the form
Policy Name
pid at st pr ft tat wt
Process Schedue
Mean Waiting Time
Mean Turn Around Time
pid – process id
at - arrival time
st - service time
ft - finish time
tat – turn around time
wt - waiting time