-#/** @file\r
+## @file\r
+# Performance library instance used in DXE phase.\r
# \r
-# Component description file for Dxe Performance Library\r
+# This library instance provides infrastructure for DXE phase drivers to log performance\r
+# data. It consumes PerformanceEx or Performance Protocol published by DxeCorePerformanceLib\r
+# to log performance data. If both PerformanceEx and Performance Protocol are not available,\r
+# it does not log any performance information.\r
# \r
-# This library provides intrastructure for Dxe driver to log performance.\r
-# \r
-# Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
# \r
-#**/\r
+##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = DxePerformanceLib\r
+ MODULE_UNI_FILE = DxePerformanceLib.uni\r
FILE_GUID = 8B8B4CCC-65FC-41a5-8067-308B8E42CCF2\r
MODULE_TYPE = DXE_DRIVER\r
VERSION_STRING = 1.0\r
LIBRARY_CLASS = PerformanceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
-\r
\r
#\r
# The following information is for reference only and not required by the build tools.\r
# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
DxePerformanceLib.c\r
\r
\r
DebugLib\r
\r
\r
-[Protocols]\r
- gPerformanceProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
+[Guids]\r
+ gPerformanceProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol\r
+ gPerformanceExProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol\r
\r
\r
-[Pcd.common]\r
- gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask\r
+[Pcd]\r
+ gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r
\r