mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
PerformancePkg Dp_App: Delete InitCumulativeData()
InitCumulativeData is introduced by d28f77df0f51f84b0af79f09abe2c27b1f1aaa69, it is needed by ShellPkg UefiDpLib, but not needed by PerformancePkg Dp_App. This patch is to delete it. Cc: Cinnamon Shia <cinnamon.shia@hpe.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Cinnamon Shia <cinnamon.shia@hpe.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
parent
0cd1e699e5
commit
bd1f388860
@ -183,25 +183,6 @@ DumpStatistics( void )
|
||||
FreePool (StringPtrUnknown);
|
||||
}
|
||||
|
||||
/**
|
||||
Initialize the cumulative data.
|
||||
|
||||
**/
|
||||
VOID
|
||||
InitCumulativeData (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
UINTN Index;
|
||||
|
||||
for (Index = 0; Index < NumCum; ++Index) {
|
||||
CumData[Index].Count = 0;
|
||||
CumData[Index].MinDur = PERF_MAXDUR;
|
||||
CumData[Index].MaxDur = 0;
|
||||
CumData[Index].Duration = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
Dump performance data.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user