mirror of https://github.com/acidanthera/audk.git
Refine coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11323 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ba319b960e
commit
cbdf19a53e
|
@ -62,7 +62,7 @@ extern UINT32 const NumCum;
|
||||||
UINT64
|
UINT64
|
||||||
GetDuration (
|
GetDuration (
|
||||||
IN OUT MEASUREMENT_RECORD *Measurement
|
IN OUT MEASUREMENT_RECORD *Measurement
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Determine whether the Measurement record is for an EFI Phase.
|
Determine whether the Measurement record is for an EFI Phase.
|
||||||
|
@ -78,7 +78,7 @@ GetDuration (
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
IsPhase(
|
IsPhase(
|
||||||
IN MEASUREMENT_RECORD *Measurement
|
IN MEASUREMENT_RECORD *Measurement
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get the file name portion of the Pdb File Name.
|
Get the file name portion of the Pdb File Name.
|
||||||
|
@ -96,7 +96,7 @@ VOID
|
||||||
GetShortPdbFileName (
|
GetShortPdbFileName (
|
||||||
IN CHAR8 *PdbFileName,
|
IN CHAR8 *PdbFileName,
|
||||||
OUT CHAR16 *UnicodeBuffer
|
OUT CHAR16 *UnicodeBuffer
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get a human readable name for an image handle.
|
Get a human readable name for an image handle.
|
||||||
|
@ -110,7 +110,7 @@ GetShortPdbFileName (
|
||||||
VOID
|
VOID
|
||||||
GetNameFromHandle (
|
GetNameFromHandle (
|
||||||
IN EFI_HANDLE Handle
|
IN EFI_HANDLE Handle
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Calculate the Duration in microseconds.
|
Calculate the Duration in microseconds.
|
||||||
|
@ -128,7 +128,7 @@ GetNameFromHandle (
|
||||||
UINT64
|
UINT64
|
||||||
DurationInMicroSeconds (
|
DurationInMicroSeconds (
|
||||||
IN UINT64 Duration
|
IN UINT64 Duration
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Formatted Print using a Hii Token to reference the localized format string.
|
Formatted Print using a Hii Token to reference the localized format string.
|
||||||
|
@ -143,7 +143,7 @@ UINTN
|
||||||
PrintToken (
|
PrintToken (
|
||||||
IN UINT16 Token,
|
IN UINT16 Token,
|
||||||
...
|
...
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get index of Measurement Record's match in the CumData array.
|
Get index of Measurement Record's match in the CumData array.
|
||||||
|
@ -161,7 +161,7 @@ PrintToken (
|
||||||
INTN
|
INTN
|
||||||
GetCumulativeItem(
|
GetCumulativeItem(
|
||||||
IN MEASUREMENT_RECORD *Measurement
|
IN MEASUREMENT_RECORD *Measurement
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Collect verbose statistics about the logged performance measurements.
|
Collect verbose statistics about the logged performance measurements.
|
||||||
|
@ -180,7 +180,7 @@ GetCumulativeItem(
|
||||||
VOID
|
VOID
|
||||||
GatherStatistics(
|
GatherStatistics(
|
||||||
VOID
|
VOID
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gather and print ALL Trace Records.
|
Gather and print ALL Trace Records.
|
||||||
|
@ -204,7 +204,7 @@ VOID
|
||||||
DumpAllTrace(
|
DumpAllTrace(
|
||||||
IN UINTN Limit,
|
IN UINTN Limit,
|
||||||
IN BOOLEAN ExcludeFlag
|
IN BOOLEAN ExcludeFlag
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gather and print Raw Trace Records.
|
Gather and print Raw Trace Records.
|
||||||
|
@ -228,7 +228,7 @@ VOID
|
||||||
DumpRawTrace(
|
DumpRawTrace(
|
||||||
IN UINTN Limit,
|
IN UINTN Limit,
|
||||||
IN BOOLEAN ExcludeFlag
|
IN BOOLEAN ExcludeFlag
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gather and print Major Phase metrics.
|
Gather and print Major Phase metrics.
|
||||||
|
@ -239,7 +239,7 @@ DumpRawTrace(
|
||||||
VOID
|
VOID
|
||||||
ProcessPhases(
|
ProcessPhases(
|
||||||
IN UINT64 Ticker
|
IN UINT64 Ticker
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -252,7 +252,7 @@ ProcessPhases(
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
ProcessHandles(
|
ProcessHandles(
|
||||||
IN BOOLEAN ExcludeFlag
|
IN BOOLEAN ExcludeFlag
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -264,7 +264,7 @@ ProcessHandles(
|
||||||
VOID
|
VOID
|
||||||
ProcessPeims(
|
ProcessPeims(
|
||||||
VOID
|
VOID
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gather and print global data.
|
Gather and print global data.
|
||||||
|
@ -278,7 +278,7 @@ ProcessPeims(
|
||||||
VOID
|
VOID
|
||||||
ProcessGlobal(
|
ProcessGlobal(
|
||||||
VOID
|
VOID
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gather and print cumulative data.
|
Gather and print cumulative data.
|
||||||
|
@ -292,7 +292,7 @@ ProcessGlobal(
|
||||||
VOID
|
VOID
|
||||||
ProcessCumulative(
|
ProcessCumulative(
|
||||||
VOID
|
VOID
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gather and print ALL Profiling Records.
|
Gather and print ALL Profiling Records.
|
||||||
|
@ -316,7 +316,7 @@ VOID
|
||||||
DumpAllProfile(
|
DumpAllProfile(
|
||||||
IN UINTN Limit,
|
IN UINTN Limit,
|
||||||
IN BOOLEAN ExcludeFlag
|
IN BOOLEAN ExcludeFlag
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gather and print Raw Profile Records.
|
Gather and print Raw Profile Records.
|
||||||
|
@ -340,5 +340,5 @@ VOID
|
||||||
DumpRawProfile(
|
DumpRawProfile(
|
||||||
IN UINTN Limit,
|
IN UINTN Limit,
|
||||||
IN BOOLEAN ExcludeFlag
|
IN BOOLEAN ExcludeFlag
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -327,7 +327,7 @@ DumpRawTrace(
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
ProcessPhases(
|
ProcessPhases(
|
||||||
UINT64 Ticker
|
IN UINT64 Ticker
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
MEASUREMENT_RECORD Measurement;
|
MEASUREMENT_RECORD Measurement;
|
||||||
|
|
Loading…
Reference in New Issue