context switching
Computing term for the process of storing and restoring the state of a CPU or process so that execution can be resumed from the same point at a later time.
The operating system performs context switching frequently.
The overhead of context switching affects performance.