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.web10.8832.1671586829567665507 for ; Tue, 20 Dec 2022 17:40:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=hIecy9hD; 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 1AD0CCD1F80E for ; Wed, 21 Dec 2022 09:40:26 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1671586826; bh=e1te+wr5S3fwI4nXlDvsI8ThGhmhuhSgFxJvfr1/6QE=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=hIecy9hDuRN5svbsR+P51lbVD4pR7YP6iaj2Fh5mJvuR61bDlpw+HD3nGBiBk583l 5UxdMW6+iDFTvs/15sXNaxnQ5VC5u9Wdkb9Bs91JcD2X5140zVVPMAzpU096Rs5CMK l4kk5GVbfTzK3OhpqaIstt14VVWAA2jTyyE/9SWc= Received: from localhost (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 15D77CD1F817 for ; Wed, 21 Dec 2022 09:40:26 +0800 (CST) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id DD7B4CD1F716 for ; Wed, 21 Dec 2022 09:40:25 +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 69015CD1F743 for ; Wed, 21 Dec 2022 09:40:22 +0800 (CST) Received: from DESKTOPS6D0PVI ([101.86.145.41]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Wed, 21 Dec 2022 09:40:20 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 101.86.145.41 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> <172E5F2EAD7C8CC8.29158@groups.io> In-Reply-To: <172E5F2EAD7C8CC8.29158@groups.io> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDEvMV0gTWRlUGtnOiBGaXggdHlwb3MgYW5kIHNwYWNpbmcgaW4gTGlicmFyeS9QZXJmb3JtYW5jZUxpYi5o?= Date: Wed, 21 Dec 2022 09:40:20 +0800 Message-ID: <058601d914dd$3038b150$90aa13f0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGCnERHvLDce2MIY/q0TKI3ELhOKgIl2TNZrxNTAPA= Sender: "gaoliming" Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Create PR https://github.com/tianocore/edk2/pull/3807 to merge it.=20 Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED gaoliming via > groups.io > =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA12=D4=C27=C8=D5 9:39 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io; quic_rcran@quicinc.com; 'Michae= l D Kinney' > ; 'Zhiguang Liu' > =B3=AD=CB=CD: 'Rebecca Cran' > =D6=F7=CC=E2: =BB=D8=B8=B4: [edk2-devel] [PATCH 1/1] MdePkg: Fix typos an= d spacing in > Library/PerformanceLib.h >=20 > Reviewed-by: Liming Gao >=20 > > -----=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 > > > > - 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 an= y > > module. > > + End Macro to measure the performance of evnent signal behavior in an= y > > 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 > > > > > > > > > > >=20 >=20 >=20 >=20 >=20 >=20 >=20