/* If the return value from GetPerformanceCounterProperties (TimerLib) is zero, this function will return 10 and attempt to assert.  */
STATIC UINT32 CalculateMinimumDecentDelayInMicroseconds(VOID)
/* If the return value from GetPerformanceCounterProperties (TimerLib) is zero, this function will return 10 and attempt to assert.  */
STATIC UINT32 CalculateMinimumDecentDelayInMicroseconds(VOID)
{
  UINT64  CounterHz;
  CounterHz = GetPerformanceCounterProperties (NULL, NULL);
  if (CounterHz == 0) {
    ASSERT (CounterHz != 0);
    return DEFAULT_DELAY_TIME_IN_MICROSECONDS;
  }
  return (UINT32)(MAX (DivU64x64Remainder (1500000, CounterHz, NULL), 1));
}