]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
MdeModulePkg: Add performance property configuration table
[mirror_edk2.git] / MdeModulePkg / Library / DxeCorePerformanceLib / DxeCorePerformanceLib.inf
CommitLineData
6bfbb5f0 1## @file\r
857dfc45 2# Performance library instance mainly for DxeCore usage.\r
8dbae30d 3# \r
857dfc45 4# This library provides the performance measurement interfaces and initializes performance\r
5# logging for DXE phase. It first initializes its private global data structure for\r
6# performance logging and saves the performance GUIDed HOB passed from PEI phase. \r
f0da4d7d 7# It initializes DXE phase performance logging by publishing the Performance and PerformanceEx Protocol,\r
857dfc45 8# which is consumed by DxePerformanceLib to logging performance data in DXE phase.\r
9# This library is mainly used by DxeCore to start performance logging to ensure that\r
f0da4d7d 10# Performance and PerformanceEx Protocol are installed at the very beginning of DXE phase.\r
8dbae30d 11# \r
4d5c1d50 12# Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
7c50b343 13# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
cd5ebaa0 14# This program and the accompanying materials\r
a0afd019 15# are licensed and made available under the terms and conditions of the BSD License\r
8dbae30d 16# which accompanies this distribution. The full text of the license may be found at\r
a0afd019 17# http://opensource.org/licenses/bsd-license.php\r
8dbae30d 18# \r
a0afd019 19# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
20# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
8dbae30d 21# \r
6bfbb5f0 22##\r
a0afd019 23\r
a0afd019 24[Defines]\r
25 INF_VERSION = 0x00010005\r
26 BASE_NAME = DxeCorePerformanceLib\r
6036e94d 27 MODULE_UNI_FILE = DxeCorePerformanceLib.uni\r
a0afd019 28 FILE_GUID = D0F78BBF-0A30-4c63-8A48-0F618A4AFACD\r
29 MODULE_TYPE = DXE_CORE\r
30 VERSION_STRING = 1.0\r
4d5c1d50 31 LIBRARY_CLASS = PerformanceLib|DXE_CORE\r
a0afd019 32\r
33 CONSTRUCTOR = DxeCorePerformanceLibConstructor\r
34\r
35#\r
36# The following information is for reference only and not required by the build tools.\r
37#\r
38# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
39#\r
40\r
6bfbb5f0 41[Sources]\r
a0afd019 42 DxeCorePerformanceLib.c\r
aa79b0b3 43 DxeCorePerformanceLibInternal.h\r
a0afd019 44\r
a0afd019 45[Packages]\r
46 MdePkg/MdePkg.dec\r
47 MdeModulePkg/MdeModulePkg.dec\r
48\r
49\r
a0afd019 50[LibraryClasses]\r
51 MemoryAllocationLib\r
52 UefiBootServicesTableLib\r
53 PcdLib\r
54 TimerLib\r
55 BaseMemoryLib\r
56 BaseLib\r
57 HobLib\r
58 DebugLib\r
cfb0aba7 59 UefiLib\r
a0afd019 60\r
61\r
a0afd019 62[Guids]\r
6036e94d
SZ
63 ## SOMETIMES_CONSUMES ## HOB\r
64 ## PRODUCES ## UNDEFINED # Install protocol\r
cfb0aba7 65 ## PRODUCES ## SystemTable\r
6036e94d
SZ
66 gPerformanceProtocolGuid\r
67 ## SOMETIMES_CONSUMES ## HOB\r
68 ## PRODUCES ## UNDEFINED # Install protocol\r
69 gPerformanceExProtocolGuid\r
a0afd019 70\r
6bfbb5f0 71[Pcd]\r
7c50b343
CS
72 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries ## CONSUMES\r
73 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries16 ## CONSUMES\r
74 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r