PC stands for program count
Every program run requires a counter to count where the program runs
The register register
The reason why we have this is because the CPU doesn’t do anything wrong and it’s so slow to call main memory, the CPU calls the internal cache at a rate of 1:100 to call main memory and this is where you put your data, right
ALU is an arithmetic machine
This thing is still a little bit stupid and he takes two numbers out of memory, puts them in a register, and then he adds them back to memory and puts them in a register
Cache is cache
This should be pretty clear
And then make a speedometer
Everything except CPU and memory is worthless
They are both inside the Beijing Second Ring Road, of course the CPU is more important, and they are also plugged into the motherboard to form a channel, other components plug and play,
One final point:
That’s why threads can be twice as many as cores, right
In the past, when another program was started, it needed to switch the thread, first store the current register and PC, and then import another register and PC. For example, if you have two wives and only one room, you can only switch one out first, and then the other can enter. However, now it has changed to advanced, the same example is used. Now you have a two-story house, you can just walk to the next room, you don’t have to kick the current one out, it’s faster