| ## @file | |
| # Instance of Timer Library based on the host's standard C library. | |
| # | |
| # Uses the C11 timespec_get() API to provide a free running performance | |
| # counter and calibrated delays for host-based unit tests. | |
| # | |
| # Do NOT use this on a production system. | |
| # | |
| # Copyright (c) Microsoft Corporation.<BR> | |
| # SPDX-License-Identifier: BSD-2-Clause-Patent | |
| # | |
| ## | |
| [Defines] | |
| INF_VERSION = 0x0001001B | |
| BASE_NAME = TimerLibPosix | |
| FILE_GUID = 6C3F9A17-9A1B-4E5C-8B7D-2E9F4A6C1D30 | |
| MODULE_TYPE = BASE | |
| VERSION_STRING = 1.0 | |
| LIBRARY_CLASS = TimerLib|HOST_APPLICATION | |
| [Sources] | |
| TimerLibPosix.c | |
| [Packages] | |
| MdePkg/MdePkg.dec | |
| [LibraryClasses] | |
| DebugLib | |
| [BuildOptions] | |
| # | |
| # Force 64-bit time_t and file offsets for IA32 builds. | |
| # | |
| *_*_IA32_CC_FLAGS = -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 |