13#include <Library/EmuThunkLib.h>
54 gEmuThunk->Sleep (NanoSeconds);
75 return gEmuThunk->QueryPerformanceCounter ();
104 OUT UINT64 *StartValue OPTIONAL,
105 OUT UINT64 *EndValue OPTIONAL
108 if (StartValue !=
NULL) {
112 if (EndValue !=
NULL) {
113 *EndValue = (UINT64)-1LL;
116 return gEmuThunk->QueryPerformanceFrequency ();
UINT64 EFIAPI RShiftU64(IN UINT64 Operand, IN UINTN Count)
UINT64 EFIAPI MultU64x32(IN UINT64 Multiplicand, IN UINT32 Multiplier)
UINT64 EFIAPI DivU64x64Remainder(IN UINT64 Dividend, IN UINT64 Divisor, OUT UINT64 *Remainder OPTIONAL)
INTN EFIAPI HighBitSet64(IN UINT64 Operand)
UINT64 EFIAPI GetPerformanceCounterProperties(OUT UINT64 *StartValue OPTIONAL, OUT UINT64 *EndValue OPTIONAL)
UINT64 EFIAPI GetTimeInNanoSecond(IN UINT64 Ticks)
UINT64 EFIAPI GetPerformanceCounter(VOID)
UINTN EFIAPI MicroSecondDelay(IN UINTN MicroSeconds)
UINTN EFIAPI NanoSecondDelay(IN UINTN NanoSeconds)