]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # Performance library instance mainly for DxeCore usage.\r | |
3 | #\r | |
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 | |
7 | # It initializes DXE phase performance logging by publishing the Performance and PerformanceEx Protocol,\r | |
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 | |
10 | # Performance and PerformanceEx Protocol are installed at the very beginning of DXE phase.\r | |
11 | #\r | |
12 | # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
13 | # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r | |
14 | # This program and the accompanying materials\r | |
15 | # are licensed and made available under the terms and conditions of the BSD License\r | |
16 | # which accompanies this distribution. The full text of the license may be found at\r | |
17 | # http://opensource.org/licenses/bsd-license.php\r | |
18 | #\r | |
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 | |
21 | #\r | |
22 | ##\r | |
23 | \r | |
24 | [Defines]\r | |
25 | INF_VERSION = 0x00010005\r | |
26 | BASE_NAME = DxeCorePerformanceLib\r | |
27 | MODULE_UNI_FILE = DxeCorePerformanceLib.uni\r | |
28 | FILE_GUID = D0F78BBF-0A30-4c63-8A48-0F618A4AFACD\r | |
29 | MODULE_TYPE = DXE_CORE\r | |
30 | VERSION_STRING = 1.0\r | |
31 | LIBRARY_CLASS = PerformanceLib|DXE_CORE\r | |
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 EBC\r | |
39 | #\r | |
40 | \r | |
41 | [Sources]\r | |
42 | DxeCorePerformanceLib.c\r | |
43 | DxeCorePerformanceLibInternal.h\r | |
44 | \r | |
45 | [Packages]\r | |
46 | MdePkg/MdePkg.dec\r | |
47 | MdeModulePkg/MdeModulePkg.dec\r | |
48 | \r | |
49 | \r | |
50 | [LibraryClasses]\r | |
51 | MemoryAllocationLib\r | |
52 | UefiBootServicesTableLib\r | |
53 | UefiRuntimeServicesTableLib\r | |
54 | PcdLib\r | |
55 | TimerLib\r | |
56 | BaseMemoryLib\r | |
57 | BaseLib\r | |
58 | HobLib\r | |
59 | DebugLib\r | |
60 | UefiLib\r | |
61 | ReportStatusCodeLib\r | |
62 | DxeServicesLib\r | |
63 | PeCoffGetEntryPointLib\r | |
64 | DevicePathLib\r | |
65 | \r | |
66 | [Protocols]\r | |
67 | gEfiSmmCommunicationProtocolGuid ## SOMETIMES_CONSUMES\r | |
68 | \r | |
69 | \r | |
70 | [Guids]\r | |
71 | ## PRODUCES ## SystemTable\r | |
72 | gPerformanceProtocolGuid\r | |
73 | gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r | |
74 | gEfiFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data\r | |
75 | gEdkiiFpdtExtendedFirmwarePerformanceGuid ## SOMETIMES_CONSUMES ## HOB # StatusCode Data\r | |
76 | gEfiEventReadyToBootGuid ## CONSUMES ## Event\r | |
77 | gEdkiiPiSmmCommunicationRegionTableGuid ## SOMETIMES_CONSUMES ## SystemTable\r | |
78 | gEdkiiPerformanceMeasurementProtocolGuid ## PRODUCES ## UNDEFINED # Install protocol\r | |
79 | \r | |
80 | [Pcd]\r | |
81 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r | |
82 | gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES\r | |
83 | gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize ## CONSUMES\r |