2018-06-27 15:08:52 +02:00
|
|
|
## @file
|
2008-12-15 16:56:02 +01:00
|
|
|
# Performance library instance used in PEI phase.
|
2018-06-27 15:08:52 +02:00
|
|
|
#
|
2008-12-15 16:56:02 +01:00
|
|
|
# This library provides the performance measurement interfaces in PEI phase, it creates
|
|
|
|
# and consumes GUIDed HOB for performance logging. The GUIDed HOB is passed to DXE phase
|
2018-06-27 15:08:52 +02:00
|
|
|
# so that it can be taken over by DxeCorePerformanceLib.
|
|
|
|
#
|
2018-01-19 05:46:02 +01:00
|
|
|
# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
2016-03-08 07:00:04 +01:00
|
|
|
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
2019-04-04 01:05:13 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2018-06-27 15:08:52 +02:00
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2007-07-03 10:33:07 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = PeiPerformanceLib
|
2014-08-28 08:34:06 +02:00
|
|
|
MODULE_UNI_FILE = PeiPerformanceLib.uni
|
2007-07-03 10:33:07 +02:00
|
|
|
FILE_GUID = F72DE735-B24F-4ef6-897F-70A85D01A047
|
|
|
|
MODULE_TYPE = PEIM
|
|
|
|
VERSION_STRING = 1.0
|
2007-09-27 18:56:19 +02:00
|
|
|
LIBRARY_CLASS = PerformanceLib|PEIM PEI_CORE SEC
|
2007-07-03 10:33:07 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
2018-06-29 05:27:00 +02:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC (EBC is for build only)
|
2007-07-03 10:33:07 +02:00
|
|
|
#
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2007-07-03 10:33:07 +02:00
|
|
|
PeiPerformanceLib.c
|
|
|
|
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseMemoryLib
|
|
|
|
PcdLib
|
|
|
|
TimerLib
|
|
|
|
BaseLib
|
|
|
|
HobLib
|
|
|
|
DebugLib
|
|
|
|
|
|
|
|
|
|
|
|
[Guids]
|
2014-08-28 08:34:06 +02:00
|
|
|
## PRODUCES ## HOB
|
|
|
|
## CONSUMES ## HOB
|
2018-01-19 05:46:02 +01:00
|
|
|
gEdkiiFpdtExtendedFirmwarePerformanceGuid
|
2007-07-03 10:33:07 +02:00
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Pcd]
|
2018-01-19 05:46:02 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries16 ## CONSUMES
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES
|