Systems & OS

Context Switching Simulator

Watch the CPU save one process, select another, and restore its state. See how scheduler choices affect responsiveness and useful CPU time.

Funifytools guide character

1. Choose what you want to see

No setup is required. Pick a scenario and press Start.

Balanced: 5 processes share the CPU with a 4 ms time slice.

Advanced settings — optional
02 Watch the CPU

Live process movement

Follow the highlighted process as it gets a turn on the CPU.

Ready
i
Ready to begin Press Start simulation above. You can pause or move one event at a time.
WAITING FOR A TURN 0 processes

These processes are ready. The first one will run next.

NOW USING THE CPU
IDLE
Time slice —
COMPLETED 0 finished

Finished processes no longer need CPU time.

1. Save current process 2. Choose next process 3. Load and continue