-#/** @file\r
+## @file\r
# Performance library instance used in DXE phase.\r
# \r
# This library instance provides infrastructure for DXE phase drivers to log performance\r
-# data. It consumes Performance Protocol published by DxeCorePerformanceLib\r
-# to log performance data. If Performance Protocol is not available, it does not log any\r
-# performance information.\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
-# 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
# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
DxePerformanceLib.c\r
\r
\r
\r
\r
[Guids]\r
- gPerformanceProtocolGuid ## CONSUMES ## PROTOCOL\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