2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2008-12-15 16:56:02 +01:00
|
|
|
# Performance library instance used in DXE phase.
|
2008-04-09 07:36:17 +02:00
|
|
|
#
|
2008-12-15 16:56:02 +01:00
|
|
|
# This library instance provides infrastructure for DXE phase drivers to log performance
|
2012-04-24 11:12:36 +02:00
|
|
|
# data. It consumes PerformanceEx or Performance Protocol published by DxeCorePerformanceLib
|
2014-08-28 08:34:06 +02:00
|
|
|
# to log performance data. If both PerformanceEx and Performance Protocol are not available,
|
|
|
|
# it does not log any performance information.
|
2008-04-09 07:36:17 +02:00
|
|
|
#
|
2014-08-28 08:34:06 +02:00
|
|
|
# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
2010-04-24 11:49:11 +02:00
|
|
|
# This program and the accompanying materials
|
2007-07-03 10:33:07 +02:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
2008-04-09 07:36:17 +02:00
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
2007-07-03 10:33:07 +02:00
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
2008-04-09 07:36:17 +02:00
|
|
|
#
|
2007-07-03 10:33:07 +02:00
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
2008-04-09 07:36:17 +02:00
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2007-07-03 10:33:07 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = DxePerformanceLib
|
2014-08-28 08:34:06 +02:00
|
|
|
MODULE_UNI_FILE = DxePerformanceLib.uni
|
2007-07-03 10:33:07 +02:00
|
|
|
FILE_GUID = 8B8B4CCC-65FC-41a5-8067-308B8E42CCF2
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = PerformanceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2007-07-03 10:33:07 +02:00
|
|
|
DxePerformanceLib.c
|
|
|
|
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
PcdLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
DebugLib
|
|
|
|
|
|
|
|
|
2009-02-23 04:02:50 +01:00
|
|
|
[Guids]
|
2014-08-28 08:34:06 +02:00
|
|
|
gPerformanceProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol
|
|
|
|
gPerformanceExProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol
|
2007-07-03 10:33:07 +02:00
|
|
|
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Pcd]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES
|
2007-07-03 10:33:07 +02:00
|
|
|
|