ReactOS 0.4.15-dev-5669-g09dde2c
tsc.h
Go to the documentation of this file.
1
2#ifndef _TSC_H_
3#define _TSC_H_
4
5#define NUM_SAMPLES 4
6#define MSR_RDTSC 0x10
7
8#ifndef __ASM__
9
13
14#ifdef _M_AMD64
15#define KiGetIdtEntry(Pcr, Vector) &((Pcr)->IdtBase[Vector])
16#else
17#define KiGetIdtEntry(Pcr, Vector) &((Pcr)->IDT[Vector])
18#endif
19
20#endif
21
22#endif /* !_TSC_H_ */
#define __cdecl
Definition: accygwin.h:79
VOID NTAPI HalpInitializeTsc(void)
Definition: tsc.c:55
LARGE_INTEGER HalpCpuClockFrequency
Definition: tsc.c:17
void __cdecl TscCalibrationISR(void)
#define NTAPI
Definition: typedefs.h:36