reactos/ntoskrnl/ke
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
..
amd64 [NTOS:MM] Pass page fault code to MmAccessFault 2018-01-06 18:20:24 +01:00
arm [NTOS:MM] Pass page fault code to MmAccessFault 2018-01-06 18:20:24 +01:00
i386 [NTOS:KE] Don't loop indefinitely trying to figure out the CPU frequency. CORE-14419 2018-03-01 14:26:44 +01:00
powerpc
apc.c
balmgr.c
bug.c [NTOSKRNL] Revert 6ece4e9fc2 for third tools compatibility 2018-02-08 11:50:45 +01:00
clock.c
config.c
devqueue.c
dpc.c
eventobj.c
except.c
freeze.c
gate.c
gmutex.c
ipi.c
krnlinit.c
mutex.c
procobj.c
profobj.c
queue.c
semphobj.c
spinlock.c
thrdobj.c
thrdschd.c
time.c
timerobj.c
wait.c