As I understand it, CPUs generate electrical pulses using a quartz crystal. The rate the pulses are generated (taking into account various multipliers) give the processing speed which all components run off (2, 3, 4 GHz etc).
Does this mean that these electrical pulses drive all the components in the CPU? i.e. is the clock rate the input of electricity for the CPU where transistors are switched on and off (potentially) at the clock rate? So a clock rate of 3GHz means that transistors can be switched on and off 3 billion times a second? Or have I interpreted it wrong?
Also, when the quartz crystal generates this electrical pulse, what happens to it exactly and what does it do?