]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
MdeModulePkg BrotliLib: Fix the regression logic issue in loop
[mirror_edk2.git] / MdeModulePkg / Library / DxePerformanceLib / DxePerformanceLib.inf
index ff1f03b3c943bc7da586ec59b2d2016a9aa4c2b7..edc63c6f0b6c8a783ff46f38e7e8a0398563e3cf 100644 (file)
@@ -1,11 +1,13 @@
-#/** @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
@@ -29,7 +32,7 @@
 #  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