search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
45 views
asked Guru 27.1k points 31 47 92

1 Answer

0 votes
Switching the CPU to another process requires saving the state of the old process and loading the saved state for the new process. This task is known as a context switch. Context-switch time is pure overhead, because the system does no useful work while switching. Its speed varies from machine to machine, depending on the memory speed, the number of registers which must be copied, the existed of special instructions(such as a single instruction to load or store all registers).
answered Guru 24.6k points 29 51 75

Related questions

0 votes
2 answers 11 views
11 views
asked keem Expert 13.2k points 26 40 57
0 votes
1 answer 6 views
6 views
asked keem Expert 13.2k points 26 40 57
0 votes
1 answer 40 views
40 views
asked john Guru 27.1k points 31 47 92
0 votes
1 answer 39 views
39 views
asked john Guru 27.1k points 31 47 92
0 votes
2 answers 31 views
31 views
asked smith Geek 15.3k points 14 39 58
...