/** @file Copyright (C) 2008-2025 Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Stalls the CPU for at least the specified number of MicroSeconds. @param[in] MicroSeconds The minimum number of microseconds to delay. @return The value of MicroSeconds input. **/ UINTN EFIAPI MicroSecondDelay ( IN UINTN MicroSeconds ) { return 0; } /** Stalls the CPU for at least the specified number of NanoSeconds. @param[in] NanoSeconds The minimum number of nanoseconds to delay. @return The value of NanoSeconds input. **/ UINTN EFIAPI NanoSecondDelay ( IN UINTN NanoSeconds ) { return 0; } /** Retrieves the current value of the 64-bit free running Time-Stamp counter. The properties of the counter can be retrieved by the GetPerformanceCounterProperties() function. @return The current value of the free running performance counter. **/ UINT64 EFIAPI GetPerformanceCounter ( VOID ) { return 0; } /** Retrieves the 64-bit frequency in Hz and the range of performance counter values. If StartValue is not NULL, then the value that the performance counter starts with, 0x0, is returned in StartValue. If EndValue is not NULL, then the value that the performance counter end with, 0xFFFFFFFFFFFFFFFF, is returned in EndValue. The 64-bit frequency of the performance counter, in Hz, is always returned. @param[out] StartValue Pointer to where the performance counter's starting value is saved, or NULL. @param[out] EndValue Pointer to where the performance counter's ending value is saved, or NULL. @return The frequency in Hz. **/ UINT64 EFIAPI GetPerformanceCounterProperties ( OUT UINT64 *StartValue, OPTIONAL OUT UINT64 *EndValue OPTIONAL ) { return 0; } /** Converts elapsed ticks of performance counter to time in nanoseconds. This function converts the elapsed ticks of running performance counter to time value in unit of nanoseconds. @param Ticks The number of elapsed ticks of running performance counter. @return The elapsed time in nanoseconds. **/ UINT64 EFIAPI GetTimeInNanoSecond ( IN UINT64 Ticks ) { return 0; }