reactos/ntoskrnl/ke/i386
Thomas Faber 6b78ff036f
[NTOS:KE] Don't loop indefinitely trying to figure out the CPU frequency. CORE-14419
Previously, we would keep sampling the CPU frequency until two subsequent
samples differed by at most 1 MHz. This could take several seconds, and would
unnecessarily delay boot.
Instead, if sampling is too unreliable, just give up and calculate the average
frequency from 10 samples. This is no worse than picking the frequency that
just happened to be returned twice in a row.

The fact that this method of sampling fails could indicate that there's a
problem with our performance counter implementation or timer interrupt,
but that's a separate issue...
2018-03-01 14:26:44 +01:00
..
abios.c
context.c
cpu.c
ctxswitch.S
exp.c
irqobj.c
kiinit.c [NTOS:KE] Don't loop indefinitely trying to figure out the CPU frequency. CORE-14419 2018-03-01 14:26:44 +01:00
ldt.c
mtrr.c
patpge.c
thrdini.c
trap.s
traphdlr.c [NTOS:MM] Pass page fault code to MmAccessFault 2018-01-06 18:20:24 +01:00
usercall.c
usercall_asm.S
v86vdm.c