Mail Archives: djgpp/1996/09/24/08:11:29
On Mon, 23 Sep 1996, Tom Sgouros wrote:
> > There is one clock in a PC and it ticks (effectively) 1,193,180 times
> > a second (UCLOCKS_PER_SEC in <time.h>).
>
> Stupid question, but I have to ask it for clarity: Is this true no matter
> how many MHz your PC is running at?
Short answer: Yes.
Long answer: The frequency of the clock which feeds the CPU is lowered to
the above frequency by the chipset on the motherboard. The CPU itself
gets the original frequency (e.g., 100MHz), but the circuitry that
generates the timer interrupts gets the above 1.19MHz frequency. Many
peripherals and programs will break otherwise.
- Raw text -