OpenCore
1.0.4
OpenCore Bootloader
|
#include <Library/TimerLib.h>
Go to the source code of this file.
Macros | |
#define | OC_MINIMAL_CPU_DELAY 10 |
Functions | |
UINT64 | RecalculateTSC (VOID) |
UINT64 EFIAPI | GetTscFrequency (VOID) |
Copyright (C) 2016, The HermitCrabs Lab. All rights reserved.
Copyright (C) 2021, Mike Beaton. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
Definition in file OcTimerLib.h.
#define OC_MINIMAL_CPU_DELAY 10 |
Definition at line 15 of file OcTimerLib.h.
UINT64 EFIAPI GetTscFrequency | ( | VOID | ) |
Return cached PerformanceCounterFrequency value. For instrumentation purposes only.
The | timer frequency in use. |
Return cached PerformanceCounterFrequency value.
The | timer frequency in use. |
Definition at line 243 of file OcTimerLib.c.
UINT64 RecalculateTSC | ( | VOID | ) |
Calculate the TSC frequency
The | calculated TSC frequency. |