1## @file 2# Performance library instance used in PEI phase. 3# 4# This library provides the performance measurement interfaces in PEI phase, it creates 5# and consumes GUIDed HOB for performance logging. The GUIDed HOB is passed to DXE phase 6# so that it can be taken over by DxeCorePerformanceLib. 7# 8# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> 9# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<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 = PeiPerformanceLib 23 MODULE_UNI_FILE = PeiPerformanceLib.uni 24 FILE_GUID = F72DE735-B24F-4ef6-897F-70A85D01A047 25 MODULE_TYPE = PEIM 26 VERSION_STRING = 1.0 27 LIBRARY_CLASS = PerformanceLib|PEIM PEI_CORE SEC 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 (EBC is for build only) 33# 34 35[Sources] 36 PeiPerformanceLib.c 37 38 39[Packages] 40 MdePkg/MdePkg.dec 41 MdeModulePkg/MdeModulePkg.dec 42 43 44[LibraryClasses] 45 BaseMemoryLib 46 PcdLib 47 TimerLib 48 BaseLib 49 HobLib 50 DebugLib 51 52 53[Guids] 54 ## PRODUCES ## HOB 55 ## CONSUMES ## HOB 56 gPerformanceProtocolGuid 57 ## PRODUCES ## HOB 58 ## CONSUMES ## HOB 59 gPerformanceExProtocolGuid 60 61[Pcd] 62 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries ## CONSUMES 63 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries16 ## CONSUMES 64 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES 65