]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PerformancePkg/Dp_App/Dp.c
Refine code to make code follow the coding style.
[mirror_edk2.git] / PerformancePkg / Dp_App / Dp.c
index 39eba4134c1c674f4f7142cc3aca97badcdb9f22..3237138b22f6e0d6373b5bfc2116bad12d925ae1 100644 (file)
@@ -42,7 +42,7 @@
 \r
 //\r
 /// Module-Global Variables\r
-/// @{\r
+///@{\r
 EFI_HII_HANDLE   gHiiHandle;\r
 CHAR16           *mPrintTokenBuffer = NULL;\r
 CHAR16           mGaugeString[DXE_PERFORMANCE_STRING_SIZE];\r
@@ -83,9 +83,11 @@ SHELL_PARAM_ITEM  DpParamList[] = {
   {NULL, TypeMax}\r
   };\r
 \r
-/// @}\r
+///@}\r
 \r
-/// Display Usage and Help information.\r
+/**\r
+   Display Usage and Help information.\r
+**/\r
 VOID\r
 ShowHelp( void )\r
 {\r
@@ -111,7 +113,9 @@ ShowHelp( void )
   Print(L"\n");\r
 }\r
 \r
-/// Display the trailing Verbose information.\r
+/**\r
+   Display the trailing Verbose information.\r
+**/\r
 VOID\r
 DumpStatistics( void )\r
 {\r
@@ -132,15 +136,16 @@ DumpStatistics( void )
 #endif // PROFILING_IMPLEMENTED\r
 }\r
 \r
-/** Dump performance data.\r
-  *\r
-  * @param[in]  ImageHandle     The image handle.\r
-  * @param[in]  SystemTable     The system table.\r
-  *\r
-  * @retval EFI_SUCCESS            Command completed successfully.\r
-  * @retval EFI_INVALID_PARAMETER  Command usage error.\r
-  * @retval value                  Unknown error.\r
-  *\r
+/** \r
+  Dump performance data.\r
+  \r
+  @param[in]  ImageHandle     The image handle.\r
+  @param[in]  SystemTable     The system table.\r
+  \r
+  @retval EFI_SUCCESS            Command completed successfully.\r
+  @retval EFI_INVALID_PARAMETER  Command usage error.\r
+  @retval value                  Unknown error.\r
+  \r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -158,15 +163,21 @@ InitializeDp (
   UINTN                     Number2Display;\r
 \r
   EFI_STATUS                Status;\r
-  BOOLEAN                   SummaryMode     = FALSE;\r
-  BOOLEAN                   VerboseMode     = FALSE;\r
-  BOOLEAN                   AllMode         = FALSE;\r
-  BOOLEAN                   RawMode         = FALSE;\r
-  BOOLEAN                   TraceMode       = FALSE;\r
-  BOOLEAN                   ProfileMode     = FALSE;\r
-  BOOLEAN                   ExcludeMode     = FALSE;\r
-\r
+  BOOLEAN                   SummaryMode;\r
+  BOOLEAN                   VerboseMode;\r
+  BOOLEAN                   AllMode;\r
+  BOOLEAN                   RawMode;\r
+  BOOLEAN                   TraceMode;\r
+  BOOLEAN                   ProfileMode;\r
+  BOOLEAN                   ExcludeMode;\r
 \r
+  SummaryMode     = FALSE;\r
+  VerboseMode     = FALSE;\r
+  AllMode         = FALSE;\r
+  RawMode         = FALSE;\r
+  TraceMode       = FALSE;\r
+  ProfileMode     = FALSE;\r
+  ExcludeMode     = FALSE;\r
   // Get DP's entry time as soon as possible.\r
   // This is used as the Shell-Phase end time.\r
   //\r