summaryrefslogtreecommitdiff
path: root/PerformancePkg
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2016-05-02 16:40:54 +0800
committerStar Zeng <star.zeng@intel.com>2016-05-03 12:42:44 +0800
commitbd1f3888607c9a35b402c03e819f339342299199 (patch)
tree526a3e89c3030eebf1207ff0c074b663cbbc1c7e /PerformancePkg
parent0cd1e699e5f76b3323b5881932af8a62bc5edf2a (diff)
downloadedk2-platforms-bd1f3888607c9a35b402c03e819f339342299199.tar.xz
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>
Diffstat (limited to 'PerformancePkg')
-rw-r--r--PerformancePkg/Dp_App/Dp.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/PerformancePkg/Dp_App/Dp.c b/PerformancePkg/Dp_App/Dp.c
index 283b61ccd4..6d980e5c55 100644
--- a/PerformancePkg/Dp_App/Dp.c
+++ b/PerformancePkg/Dp_App/Dp.c
@@ -184,25 +184,6 @@ DumpStatistics( void )
}
/**
- 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.
@param[in] ImageHandle The image handle.