Home | History | Annotate | Download | only in TscTimerLib

Lines Matching defs:Ticks

55   UINT32      Ticks;

72 Ticks = IoRead32 (TimerAddr) + (3579); // Set Ticks to 1ms in the future
77 // When the current ACPI timer value is greater than 'Ticks', the while loop will exit.
79 while (((Ticks - IoRead32 (TimerAddr)) & BIT23) == 0) {
92 /** Stalls the CPU for at least the given number of ticks.
94 Stalls the CPU for at least the given number of ticks. It's invoked by
97 @param[in] Delay A period of time to delay in ticks.
105 UINT64 Ticks;
110 Ticks = AsmReadTsc() + Delay;
118 while (AsmReadTsc() <= Ticks) CpuPause();
234 Converts elapsed ticks of performance counter to time in nanoseconds.
236 This function converts the elapsed ticks of running performance counter to
239 @param Ticks The number of elapsed ticks of running performance counter.
247 IN UINT64 Ticks
258 // Ticks
262 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);