public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 1/1] MdePkg: Fix typos and spacing in Library/PerformanceLib.h
@ 2022-11-29 12:22 Rebecca Cran
  2022-12-07  1:39 ` 回复: [edk2-devel] " gaoliming
       [not found] ` <172E5F2EAD7C8CC8.29158@groups.io>
  0 siblings, 2 replies; 3+ messages in thread
From: Rebecca Cran @ 2022-11-29 12:22 UTC (permalink / raw)
  To: devel, Michael D Kinney, Liming Gao, Zhiguang Liu; +Cc: Rebecca Cran

- 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 <rebecca@quicinc.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* 回复: [edk2-devel] [PATCH 1/1] MdePkg: Fix typos and spacing in Library/PerformanceLib.h
  2022-11-29 12:22 [PATCH 1/1] MdePkg: Fix typos and spacing in Library/PerformanceLib.h Rebecca Cran
@ 2022-12-07  1:39 ` gaoliming
       [not found] ` <172E5F2EAD7C8CC8.29158@groups.io>
  1 sibling, 0 replies; 3+ messages in thread
From: gaoliming @ 2022-12-07  1:39 UTC (permalink / raw)
  To: devel, quic_rcran, 'Michael D Kinney',
	'Zhiguang Liu'
  Cc: 'Rebecca Cran'

Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Rebecca Cran
> 发送时间: 2022年11月29日 20:23
> 收件人: devel@edk2.groups.io; Michael D Kinney
> <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>;
> Zhiguang Liu <zhiguang.liu@intel.com>
> 抄送: Rebecca Cran <rebecca@quicinc.com>
> 主题: [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 <rebecca@quicinc.com>
> ---
>  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
> 
> 
> 
> 
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

* 回复: [edk2-devel] [PATCH 1/1] MdePkg: Fix typos and spacing in Library/PerformanceLib.h
       [not found] ` <172E5F2EAD7C8CC8.29158@groups.io>
@ 2022-12-21  1:40   ` gaoliming
  0 siblings, 0 replies; 3+ messages in thread
From: gaoliming @ 2022-12-21  1:40 UTC (permalink / raw)
  To: devel, gaoliming, quic_rcran, 'Michael D Kinney',
	'Zhiguang Liu'
  Cc: 'Rebecca Cran'

Create PR https://github.com/tianocore/edk2/pull/3807 to merge it. 

Thanks
Liming
> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 gaoliming via
> groups.io
> 发送时间: 2022年12月7日 9:39
> 收件人: devel@edk2.groups.io; quic_rcran@quicinc.com; 'Michael D Kinney'
> <michael.d.kinney@intel.com>; 'Zhiguang Liu' <zhiguang.liu@intel.com>
> 抄送: 'Rebecca Cran' <rebecca@quicinc.com>
> 主题: 回复: [edk2-devel] [PATCH 1/1] MdePkg: Fix typos and spacing in
> Library/PerformanceLib.h
> 
> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
> 
> > -----邮件原件-----
> > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Rebecca
> Cran
> > 发送时间: 2022年11月29日 20:23
> > 收件人: devel@edk2.groups.io; Michael D Kinney
> > <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>;
> > Zhiguang Liu <zhiguang.liu@intel.com>
> > 抄送: Rebecca Cran <rebecca@quicinc.com>
> > 主题: [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 <rebecca@quicinc.com>
> > ---
> >  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
> >
> >
> >
> >
> >
> 
> 
> 
> 
> 
> 
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-21  1:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-29 12:22 [PATCH 1/1] MdePkg: Fix typos and spacing in Library/PerformanceLib.h Rebecca Cran
2022-12-07  1:39 ` 回复: [edk2-devel] " gaoliming
     [not found] ` <172E5F2EAD7C8CC8.29158@groups.io>
2022-12-21  1:40   ` gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox