From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from walk.intel-email.com (walk.intel-email.com [101.227.64.242]) by mx.groups.io with SMTP id smtpd.web11.4253.1670377164785247369 for ; Tue, 06 Dec 2022 17:39:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=VwlOYJf9; spf=pass (domain: byosoft.com.cn, ip: 101.227.64.242, mailfrom: gaoliming@byosoft.com.cn) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 877D8CD1F730 for ; Wed, 7 Dec 2022 09:39:22 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1670377162; bh=0mMxxsub632KxPdkH20gKUkHgsJZRoJ5vq5SVA/7V8E=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=VwlOYJf9ZOZ0ypJ0llMZQsdbe4us5qvz6jZ/2nAYYhvNUtV6ak3P6axC/w0Tiyk72 8I0n8ZUaj4TC4DM9+oYuCHcnKHdIt3F3ZAhFjyHn5gPcPPn/cNkHq76r/draMDju+9 Y05K9zZiQBgUxFIxZolt+u3OkjTdQ/rtuqpl4Mww= Received: from localhost (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 844C9CD1F6EF for ; Wed, 7 Dec 2022 09:39:22 +0800 (CST) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 56063CD1F68C for ; Wed, 7 Dec 2022 09:39:22 +0800 (CST) Authentication-Results: walk.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by walk.intel-email.com (Postfix) with SMTP id D8DF9CD1F6AC for ; Wed, 7 Dec 2022 09:39:19 +0800 (CST) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Wed, 07 Dec 2022 09:39:17 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , , "'Michael D Kinney'" , "'Zhiguang Liu'" Cc: "'Rebecca Cran'" References: <20221129122255.122274-1-rebecca@quicinc.com> In-Reply-To: <20221129122255.122274-1-rebecca@quicinc.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDEvMV0gTWRlUGtnOiBGaXggdHlwb3MgYW5kIHNwYWNpbmcgaW4gTGlicmFyeS9QZXJmb3JtYW5jZUxpYi5o?= Date: Wed, 7 Dec 2022 09:39:17 +0800 Message-ID: <000a01d909dc$b8f29120$2ad7b360$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGCnERHvLDce2MIY/q0TKI3ELhOKq8OgN3A Sender: "gaoliming" Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Rebecca Cran > =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA11=D4=C229=C8=D5 20:23 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io; Michael D Kinney > ; Liming Gao ; > Zhiguang Liu > =B3=AD=CB=CD: Rebecca Cran > =D6=F7=CC=E2: [edk2-devel] [PATCH 1/1] MdePkg: Fix typos and spacing in > Library/PerformanceLib.h >=20 > - 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". >=20 > Signed-off-by: Rebecca Cran > --- > MdePkg/Include/Library/PerformanceLib.h | 62 ++++++++++---------- > 1 file changed, 31 insertions(+), 31 deletions(-) >=20 > 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. >=20 > 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. >=20 > **/ > @@ -367,7 +367,7 @@ LogPerformanceMeasurement ( > End Macro to measure the performance of StartImage in core. >=20 > 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. >=20 > **/ > @@ -382,7 +382,7 @@ LogPerformanceMeasurement ( > Begin Macro to measure the performance of LoadImage in core. >=20 > 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. >=20 > **/ > @@ -397,7 +397,7 @@ LogPerformanceMeasurement ( > End Macro to measure the performance of LoadImage in core. >=20 > 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. >=20 > **/ > @@ -412,7 +412,7 @@ LogPerformanceMeasurement ( > Start Macro to measure the performance of DriverBinding Support in core. >=20 > 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. >=20 > **/ > @@ -427,7 +427,7 @@ LogPerformanceMeasurement ( > End Macro to measure the performance of DriverBinding Support in core. >=20 > 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. >=20 > **/ > @@ -442,7 +442,7 @@ LogPerformanceMeasurement ( > Begin Macro to measure the performance of DriverBinding Start in core. >=20 > 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. >=20 > **/ > @@ -457,7 +457,7 @@ LogPerformanceMeasurement ( > End Macro to measure the performance of DriverBinding Start in core. >=20 > 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. >=20 > **/ > @@ -472,7 +472,7 @@ LogPerformanceMeasurement ( > Start Macro to measure the performance of DriverBinding Stop in core. >=20 > 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. >=20 > **/ > @@ -487,7 +487,7 @@ LogPerformanceMeasurement ( > End Macro to measure the performance of DriverBinding Stop in core. >=20 > 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. >=20 > **/ > @@ -503,7 +503,7 @@ LogPerformanceMeasurement ( > It can be used to log a meaningful thing which happens at a time point= . >=20 > 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. >=20 > **/ > @@ -515,11 +515,11 @@ LogPerformanceMeasurement ( > } while (FALSE) >=20 > /** > - Begin Macro to measure the perofrmance of evnent signal behavior in an= y > module. > + Begin Macro to measure the performance of evnent signal behavior in an= y > module. > The event guid will be passed with this macro. >=20 > 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. >=20 > **/ > @@ -531,11 +531,11 @@ LogPerformanceMeasurement ( > } while (FALSE) >=20 > /** > - 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. >=20 > 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. >=20 > **/ > @@ -547,11 +547,11 @@ LogPerformanceMeasurement ( > } while (FALSE) >=20 > /** > - 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. >=20 > 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. >=20 > **/ > @@ -563,11 +563,11 @@ LogPerformanceMeasurement ( > } while (FALSE) >=20 > /** > - 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. >=20 > 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. >=20 > **/ > @@ -579,10 +579,10 @@ LogPerformanceMeasurement ( > } while (FALSE) >=20 > /** > - 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. >=20 > 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. >=20 > **/ > @@ -594,10 +594,10 @@ LogPerformanceMeasurement ( > } while (FALSE) >=20 > /** > - 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. >=20 > 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. >=20 > **/ > @@ -609,10 +609,10 @@ LogPerformanceMeasurement ( > } while (FALSE) >=20 > /** > - Begin Macro to measure the perofrmance of a behavior within one > module. > + Begin Macro to measure the performance of a behavior within one > module. >=20 > 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. >=20 > **/ > @@ -624,10 +624,10 @@ LogPerformanceMeasurement ( > } while (FALSE) >=20 > /** > - End Macro to measure the perofrmance of a behavior within one module. > + End Macro to measure the performance of a behavior within one module. >=20 > 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. >=20 > **/ > @@ -639,11 +639,11 @@ LogPerformanceMeasurement ( > } while (FALSE) >=20 > /** > - 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. >=20 > 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. >=20 > **/ > @@ -655,11 +655,11 @@ LogPerformanceMeasurement ( > } while (FALSE) >=20 > /** > - 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. >=20 > 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. >=20 > **/ > -- > 2.30.2 >=20 >=20 >=20 >=20 >=20