From 05570a7e8aff90e1a4ec4dbc3c88de16ef6f49e2 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Tue, 17 Apr 2012 09:45:30 +0000 Subject: [PATCH] Update function comments to remove confused description on PerformanceLib EndPerformanceMeasurement API. Signed-off-by: Liming Gao Reviewed-by: Star Zeng git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13200 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/PerformanceLib.h | 3 +-- MdePkg/Library/BasePerformanceLibNull/PerformanceLib.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/MdePkg/Include/Library/PerformanceLib.h b/MdePkg/Include/Library/PerformanceLib.h index 8d7185e6ae..928f92fff3 100644 --- a/MdePkg/Include/Library/PerformanceLib.h +++ b/MdePkg/Include/Library/PerformanceLib.h @@ -1,7 +1,7 @@ /** @file Provides services to log the execution times and retrieve them later. -Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2012, Intel Corporation. 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 @@ -59,7 +59,6 @@ StartPerformanceMeasurement ( then TimeStamp is added to the record as the end time. If the record is found and TimeStamp is zero, then this function reads the current time stamp and adds that time stamp value to the record as the end time. - If this function is called multiple times for the same record, then the end time is overwritten. @param Handle Pointer to environment specific context used to identify the component being measured. diff --git a/MdePkg/Library/BasePerformanceLibNull/PerformanceLib.c b/MdePkg/Library/BasePerformanceLibNull/PerformanceLib.c index ac934cd15b..410c2d64ee 100644 --- a/MdePkg/Library/BasePerformanceLibNull/PerformanceLib.c +++ b/MdePkg/Library/BasePerformanceLibNull/PerformanceLib.c @@ -1,7 +1,7 @@ /** @file Base Performance Library which provides no service. - Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2012, Intel Corporation. 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 @@ -62,7 +62,6 @@ StartPerformanceMeasurement ( then TimeStamp is added to the record as the end time. If the record is found and TimeStamp is zero, then this function reads the current time stamp and adds that time stamp value to the record as the end time. - If this function is called multiple times for the same record, then the end time is overwritten. @param Handle The pointer to environment specific context used to identify the component being measured. -- 2.39.2