System Utilities

CPU Scheduling Algorithm Simulator

SRTF — Shortest Remaining Time First (Preemptive SJF)

Process input

Set how many processes to schedule, then fill in each process's arrival time and burst time.

Process Arrival time (AT) Burst time (BT)
Fix the following before running the simulation:

    Results

    Completion, turnaround, and waiting time for each process.

    Process AT BT Completion (CT) Turnaround (TAT) Waiting (WT)
    Average waiting time
    0.00
    Average turnaround time
    0.00

    Gantt chart timeline

    Move your mouse over the timeline to inspect the CPU and ready queue during that exact one-unit interval.

    Hover the chart above — showing state during interval
    Running on CPU
    Hover to inspect
    Ready queue at this time