SRTF Scheduling

SRTF Scheduling :

  • In SRTF Scheduling, SRTF stands for Shortest Remaining Time First.
  • It is preemptive SJF Algorithm.
  • CPU can be allocated to a new process, if  new process arrives with a CPU burst of less length than the remaining time of the currently executing process.
  • It is optimal and it mostly gives minimum average waiting time for a given set of CPU bursts of the processes .

C SOURCE CODE :

OUTPUT :

srtf scheduling

Leave a Reply

Your email address will not be published. Required fields are marked *