summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-15 15:56:02 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-15 15:56:02 +0000
commit857dfc455d7999f61c9b55f0a930c6b4087804b9 (patch)
tree4a0efd95ee6b1df71558d3bda1b4e0c04c780f1d /MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c
parente05e2b73fc9e7b6662e0f8681b3e3ac2194662c7 (diff)
downloadedk2-857dfc455d7999f61c9b55f0a930c6b4087804b9.tar.gz
edk2-857dfc455d7999f61c9b55f0a930c6b4087804b9.tar.bz2
edk2-857dfc455d7999f61c9b55f0a930c6b4087804b9.zip
Code scrub performance library instances in MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7037 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c')
-rw-r--r--MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c b/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c
index 35a50f726b..8da302769a 100644
--- a/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c
+++ b/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c
@@ -1,7 +1,12 @@
/** @file
Performance Library
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>
+ This library instance provides infrastructure for DXE phase drivers to log performance
+ data. It consumes Performance Protocol published by DxeCorePerformanceLib
+ to log performance data. If Performance Protocol is not available, it does not log any
+ performance information.
+
+ Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -22,6 +27,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/UefiBootServicesTableLib.h>
#include <Library/PcdLib.h>
+//
+// The cached performance protocol interface.
+//
PERFORMANCE_PROTOCOL *mPerformance = NULL;
/**
@@ -165,7 +173,7 @@ EndPerformanceMeasurement (
@param LogEntryKey On entry, the key of the performance measurement log entry to retrieve.
0, then the first performance measurement log entry is retrieved.
- On exit, the key of the next performance lof entry entry.
+ On exit, the key of the next performance log entry.
@param Handle Pointer to environment specific context used to identify the component
being measured.
@param Token Pointer to a Null-terminated ASCII string that identifies the component