From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by mx.groups.io with SMTP id smtpd.web11.148149.1669724603261714308 for ; Tue, 29 Nov 2022 04:23:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PSp3qDnP; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: quicinc.com, ip: 205.220.168.131, mailfrom: quic_rcran@quicinc.com) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2ATBw7GG024168; Tue, 29 Nov 2022 12:23:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=HLRJuSDNYqGhd1YEouH7FbWQxi3nXN2hNPMqac8KoqY=; b=PSp3qDnPs3mNkcy2+hIfUse4CgOR5ui7e+mzg0tKt2JhX3Qf0rHcGYwBBrv3yafXUfaS V88bhMtBHDS1e101mgz0HG1iMn7oGRAQLOr3MWdEx1Qwxi56mAnBjwd/GoyFY+054p1T E/VaNEaNwCNomJgUd9h830dfo9bplckommhgNrb1vhOtZtY0FNa1dbVnXNFt/RAEWTwy AzIqJFe8gwik9BT82mRM43C+i7LV8j8V1pruRpdN2At/P6Qm2uvEhzlB4etAHomnTtFZ gWYTZ7KWuS/vSxO224TUwzum5BnfRAfMnzptaR3vG9T6WEQ+OLaz7+zafA97JaFPX506 hA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3m56vc9p9q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Nov 2022 12:23:16 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2ATCNFYo009356 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Nov 2022 12:23:15 GMT Received: from linbox.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Tue, 29 Nov 2022 04:23:14 -0800 From: "Rebecca Cran" To: , Michael D Kinney , Liming Gao , Zhiguang Liu CC: Rebecca Cran Subject: [PATCH 1/1] MdePkg: Fix typos and spacing in Library/PerformanceLib.h Date: Tue, 29 Nov 2022 05:22:55 -0700 Message-ID: <20221129122255.122274-1-rebecca@quicinc.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: BAMYapRglpGvQlJiJyF8iliZ7DOObBkY X-Proofpoint-ORIG-GUID: BAMYapRglpGvQlJiJyF8iliZ7DOObBkY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-29_08,2022-11-29_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 malwarescore=0 phishscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=999 impostorscore=0 spamscore=0 bulkscore=0 clxscore=1015 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211290073 Content-Transfer-Encoding: 8bit Content-Type: text/plain - Fix typos of "disable". - Fix typos of "performance". - Fix missing spaces. - Use comma instead of period when the sentence continues on the next line. - Fix typo of "PERF_CORE_LOAD_IMAGE". Signed-off-by: Rebecca Cran --- MdePkg/Include/Library/PerformanceLib.h | 62 ++++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/MdePkg/Include/Library/PerformanceLib.h b/MdePkg/Include/Library/PerformanceLib.h index 711e3fc06f4e..34ec956b9c0e 100644 --- a/MdePkg/Include/Library/PerformanceLib.h +++ b/MdePkg/Include/Library/PerformanceLib.h @@ -352,7 +352,7 @@ LogPerformanceMeasurement ( Begin Macro to measure the performance of StartImage in core. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT1(dsiable PERF_CORE_START_IMAGE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT1 (disable PERF_CORE_START_IMAGE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -367,7 +367,7 @@ LogPerformanceMeasurement ( End Macro to measure the performance of StartImage in core. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT1 (dsiable PERF_CORE_START_IMAGE)of PcdPerformanceLibraryPropertyMask is not set. + and the BIT1 (disable PERF_CORE_START_IMAGE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -382,7 +382,7 @@ LogPerformanceMeasurement ( Begin Macro to measure the performance of LoadImage in core. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT2 (dsiable PERF_CORE_LOAD_IAMGE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT2 (disable PERF_CORE_LOAD_IMAGE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -397,7 +397,7 @@ LogPerformanceMeasurement ( End Macro to measure the performance of LoadImage in core. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT2 (dsiable PERF_CORE_LOAD_IAMGE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT2 (disable PERF_CORE_LOAD_IMAGE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -412,7 +412,7 @@ LogPerformanceMeasurement ( Start Macro to measure the performance of DriverBinding Support in core. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT3 (dsiable PERF_CORE_DB_SUPPORT) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT3 (disable PERF_CORE_DB_SUPPORT) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -427,7 +427,7 @@ LogPerformanceMeasurement ( End Macro to measure the performance of DriverBinding Support in core. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT3 (dsiable PERF_CORE_DB_SUPPORT) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT3 (disable PERF_CORE_DB_SUPPORT) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -442,7 +442,7 @@ LogPerformanceMeasurement ( Begin Macro to measure the performance of DriverBinding Start in core. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT4 (dsiable PERF_CORE_DB_START) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT4 (disable PERF_CORE_DB_START) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -457,7 +457,7 @@ LogPerformanceMeasurement ( End Macro to measure the performance of DriverBinding Start in core. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT4 (dsiable PERF_CORE_DB_START) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT4 (disable PERF_CORE_DB_START) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -472,7 +472,7 @@ LogPerformanceMeasurement ( Start Macro to measure the performance of DriverBinding Stop in core. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT5 (dsiable PERF_CORE_DB_STOP) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT5 (disable PERF_CORE_DB_STOP) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -487,7 +487,7 @@ LogPerformanceMeasurement ( End Macro to measure the performance of DriverBinding Stop in core. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT5 (dsiable PERF_CORE_DB_STOP) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT5 (disable PERF_CORE_DB_STOP) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -503,7 +503,7 @@ LogPerformanceMeasurement ( It can be used to log a meaningful thing which happens at a time point. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT6 (dsiable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT6 (disable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -515,11 +515,11 @@ LogPerformanceMeasurement ( } while (FALSE) /** - Begin Macro to measure the perofrmance of evnent signal behavior in any module. + Begin Macro to measure the performance of evnent signal behavior in any module. The event guid will be passed with this macro. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT6 (dsiable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT6 (disable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -531,11 +531,11 @@ LogPerformanceMeasurement ( } while (FALSE) /** - End Macro to measure the perofrmance of evnent signal behavior in any module. + End Macro to measure the performance of evnent signal behavior in any module. The event guid will be passed with this macro. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT6 (dsiable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT6 (disable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -547,11 +547,11 @@ LogPerformanceMeasurement ( } while (FALSE) /** - Begin Macro to measure the perofrmance of a callback function in any module. + Begin Macro to measure the performance of a callback function in any module. The event guid which trigger the callback function will be passed with this macro. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT6 (dsiable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT6 (disable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -563,11 +563,11 @@ LogPerformanceMeasurement ( } while (FALSE) /** - End Macro to measure the perofrmance of a callback function in any module. + End Macro to measure the performance of a callback function in any module. The event guid which trigger the callback function will be passed with this macro. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT6 (dsiable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT6 (disable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -579,10 +579,10 @@ LogPerformanceMeasurement ( } while (FALSE) /** - Begin Macro to measure the perofrmance of a general function in any module. + Begin Macro to measure the performance of a general function in any module. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT6 (dsiable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT6 (disable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -594,10 +594,10 @@ LogPerformanceMeasurement ( } while (FALSE) /** - End Macro to measure the perofrmance of a general function in any module. + End Macro to measure the performance of a general function in any module. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT6 (dsiable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT6 (disable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -609,10 +609,10 @@ LogPerformanceMeasurement ( } while (FALSE) /** - Begin Macro to measure the perofrmance of a behavior within one module. + Begin Macro to measure the performance of a behavior within one module. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT6 (dsiable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT6 (disable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -624,10 +624,10 @@ LogPerformanceMeasurement ( } while (FALSE) /** - End Macro to measure the perofrmance of a behavior within one module. + End Macro to measure the performance of a behavior within one module. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT6 (dsiable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT6 (disable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -639,11 +639,11 @@ LogPerformanceMeasurement ( } while (FALSE) /** - Begin Macro to measure the perofrmance of a behavior in different modules. + Begin Macro to measure the performance of a behavior in different modules. Such as the performance of PEI phase, DXE phase, BDS phase. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT6 (dsiable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT6 (disable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ @@ -655,11 +655,11 @@ LogPerformanceMeasurement ( } while (FALSE) /** - End Macro to measure the perofrmance of a behavior in different modules. + End Macro to measure the performance of a behavior in different modules. Such as the performance of PEI phase, DXE phase, BDS phase. If the PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED bit of PcdPerformanceLibraryPropertyMask is set, - and the BIT6 (dsiable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set. + and the BIT6 (disable PERF_GENERAL_TYPE) of PcdPerformanceLibraryPropertyMask is not set, then LogPerformanceMeasurement() is called. **/ -- 2.30.2