ReactOS 0.4.16-dev-321-g63bb46a
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | RTC_MODE 6 /* Mode 6 is 1024 Hz */ |
#define | SAMPLE_FREQUENCY ((32768 << 1) >> RTC_MODE) |
Functions | |
static ULONG64 | DoLinearRegression (ULONG XMax, ULONG64 *ArrayY) |
VOID NTAPI | HalpInitializeTsc (VOID) |
VOID NTAPI | HalpCalibrateStallExecution (VOID) |
LARGE_INTEGER NTAPI | KeQueryPerformanceCounter (OUT PLARGE_INTEGER PerformanceFrequency OPTIONAL) |
VOID NTAPI | KeStallExecutionProcessor (ULONG MicroSeconds) |
VOID NTAPI | HalCalibratePerformanceCounter (IN volatile PLONG Count, IN ULONGLONG NewCount) |
Variables | |
LARGE_INTEGER | HalpCpuClockFrequency = {{INITIAL_STALL_COUNT * 1000000}} |
UCHAR | TscCalibrationPhase |
ULONG64 | TscCalibrationArray [NUM_SAMPLES] |
Definition at line 29 of file tsc.c.
Referenced by HalpInitializeTsc().
Definition at line 55 of file tsc.c.
Referenced by HalpCalibrateStallExecution().
LARGE_INTEGER NTAPI KeQueryPerformanceCounter | ( | OUT PLARGE_INTEGER PerformanceFrequency | OPTIONAL | ) |
Definition at line 133 of file tsc.c.
LARGE_INTEGER HalpCpuClockFrequency = {{INITIAL_STALL_COUNT * 1000000}} |
Definition at line 17 of file tsc.c.
Referenced by ApicSetTimerInterval(), HalpCalibrateStallExecution(), HalpInitializeTsc(), and KeQueryPerformanceCounter().
ULONG64 TscCalibrationArray[NUM_SAMPLES] |
Definition at line 20 of file tsc.c.
Referenced by HalpInitializeTsc().
UCHAR TscCalibrationPhase |
Definition at line 19 of file tsc.c.
Referenced by HalpInitializeTsc().