1 ## @file 2 # Performance library instance used in DXE phase. 3 # 4 # This library instance provides infrastructure for DXE phase drivers to log performance 5 # data. It consumes PerformanceEx or Performance Protocol published by DxeCorePerformanceLib 6 # to log performance data. If both PerformanceEx and Performance Protocol are not available, 7 # it does not log any performance information. 8 # 9 # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> 10 # This program and the accompanying materials 11 # are licensed and made available under the terms and conditions of the BSD License 12 # which accompanies this distribution. The full text of the license may be found at 13 # http://opensource.org/licenses/bsd-license.php 14 # 15 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 16 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 17 # 18 ## 19 20 [Defines] 21 INF_VERSION = 0x00010005 22 BASE_NAME = DxePerformanceLib 23 MODULE_UNI_FILE = DxePerformanceLib.uni 24 FILE_GUID = 8B8B4CCC-65FC-41a5-8067-308B8E42CCF2 25 MODULE_TYPE = DXE_DRIVER 26 VERSION_STRING = 1.0 27 LIBRARY_CLASS = PerformanceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER 28 29 # 30 # The following information is for reference only and not required by the build tools. 31 # 32 # VALID_ARCHITECTURES = IA32 X64 IPF EBC 33 # 34 35 [Sources] 36 DxePerformanceLib.c 37 38 39 [Packages] 40 MdePkg/MdePkg.dec 41 MdeModulePkg/MdeModulePkg.dec 42 43 44 [LibraryClasses] 45 PcdLib 46 UefiBootServicesTableLib 47 DebugLib 48 49 50 [Guids] 51 gPerformanceProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol 52 gPerformanceExProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol 53 54 55 [Pcd] 56 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES 57 58