]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Refine coding style.
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 18 Feb 2011 02:11:53 +0000 (02:11 +0000)
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 18 Feb 2011 02:11:53 +0000 (02:11 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11323 6f19259b-4bc3-4df7-8a09-765794883524

PerformancePkg/Dp_App/DpInternal.h
PerformancePkg/Dp_App/DpTrace.c

index 974901203ac26f6430b3dd865a11958ea7f46d38..d2454060bcbd8ddb5835a752c1e79f9d08636954 100644 (file)
@@ -62,7 +62,7 @@ extern UINT32 const       NumCum;
 UINT64\r
 GetDuration (\r
   IN OUT MEASUREMENT_RECORD *Measurement\r
-);\r
+  );\r
 \r
 /** \r
   Determine whether the Measurement record is for an EFI Phase.\r
@@ -78,7 +78,7 @@ GetDuration (
 BOOLEAN\r
 IsPhase(\r
   IN MEASUREMENT_RECORD *Measurement\r
-);\r
+  );\r
 \r
 /** \r
   Get the file name portion of the Pdb File Name.\r
@@ -96,7 +96,7 @@ VOID
 GetShortPdbFileName (\r
   IN  CHAR8     *PdbFileName,\r
   OUT CHAR16    *UnicodeBuffer\r
-);\r
+  );\r
 \r
 /** \r
   Get a human readable name for an image handle.\r
@@ -110,7 +110,7 @@ GetShortPdbFileName (
 VOID\r
 GetNameFromHandle (\r
   IN EFI_HANDLE Handle\r
-);\r
+  );\r
 \r
 /** \r
   Calculate the Duration in microseconds.\r
@@ -128,7 +128,7 @@ GetNameFromHandle (
 UINT64\r
 DurationInMicroSeconds (\r
   IN UINT64 Duration\r
-);\r
+  );\r
 \r
 /** \r
   Formatted Print using a Hii Token to reference the localized format string.\r
@@ -143,7 +143,7 @@ UINTN
 PrintToken (\r
   IN UINT16 Token,\r
   ...\r
-);\r
+  );\r
 \r
 /** \r
   Get index of Measurement Record's match in the CumData array.\r
@@ -161,7 +161,7 @@ PrintToken (
 INTN\r
 GetCumulativeItem(\r
   IN MEASUREMENT_RECORD *Measurement\r
-);\r
+  );\r
 \r
 /** \r
   Collect verbose statistics about the logged performance measurements.\r
@@ -180,7 +180,7 @@ GetCumulativeItem(
 VOID\r
 GatherStatistics(\r
   VOID\r
-);\r
+  );\r
 \r
 /** \r
   Gather and print ALL Trace Records.\r
@@ -204,7 +204,7 @@ VOID
 DumpAllTrace(\r
   IN UINTN             Limit,\r
   IN BOOLEAN           ExcludeFlag\r
-);\r
+  );\r
 \r
 /** \r
   Gather and print Raw Trace Records.\r
@@ -228,7 +228,7 @@ VOID
 DumpRawTrace(\r
   IN UINTN          Limit,\r
   IN BOOLEAN        ExcludeFlag\r
-);\r
+  );\r
 \r
 /** \r
   Gather and print Major Phase metrics.\r
@@ -239,7 +239,7 @@ DumpRawTrace(
 VOID\r
 ProcessPhases(\r
   IN UINT64 Ticker\r
-);\r
+  );\r
 \r
 \r
 /** \r
@@ -252,7 +252,7 @@ ProcessPhases(
 EFI_STATUS\r
 ProcessHandles(\r
   IN BOOLEAN ExcludeFlag\r
-);\r
+  );\r
 \r
 \r
 /** \r
@@ -264,7 +264,7 @@ ProcessHandles(
 VOID\r
 ProcessPeims(\r
   VOID\r
-);\r
+  );\r
 \r
 /** \r
   Gather and print global data.\r
@@ -278,7 +278,7 @@ ProcessPeims(
 VOID\r
 ProcessGlobal(\r
   VOID\r
-);\r
+  );\r
 \r
 /** \r
   Gather and print cumulative data.\r
@@ -292,7 +292,7 @@ ProcessGlobal(
 VOID\r
 ProcessCumulative(\r
   VOID\r
-);\r
+  );\r
 \r
 /** \r
   Gather and print ALL Profiling Records.\r
@@ -316,7 +316,7 @@ VOID
 DumpAllProfile(\r
   IN UINTN          Limit,\r
   IN BOOLEAN        ExcludeFlag\r
-);\r
+  );\r
 \r
 /** \r
   Gather and print Raw Profile Records.\r
@@ -340,5 +340,5 @@ VOID
 DumpRawProfile(\r
   IN UINTN          Limit,\r
   IN BOOLEAN        ExcludeFlag\r
-);\r
+  );\r
 #endif\r
index b60d7c98c09e1df68869ceba07b8844916b48d02..f4cdb88aafff218e1de757553224ad23222da6cd 100644 (file)
@@ -327,7 +327,7 @@ DumpRawTrace(
 **/\r
 VOID\r
 ProcessPhases(\r
-  UINT64            Ticker\r
+  IN UINT64            Ticker\r
   )\r
 {\r
   MEASUREMENT_RECORD        Measurement;\r