]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg UefiDpLib: Init CustomCumulativeData.MinDur
authorStar Zeng <star.zeng@intel.com>
Mon, 7 Aug 2017 07:28:46 +0000 (15:28 +0800)
committerStar Zeng <star.zeng@intel.com>
Mon, 14 Aug 2017 08:55:52 +0000 (16:55 +0800)
commit3cf737c74b0f2fa2d2c6a861343bde6fa2473a3f
treef04b0a2e002f671c2489d7bc6182918ed143a4d8
parentce10f482f786283b160146bb7ba2d9770479c10c
ShellPkg UefiDpLib: Init CustomCumulativeData.MinDur

Init CustomCumulativeData.MinDur to PERF_MAXDUR, otherwise the
MinDur displayed for custom cumulative data will be always 0,
but not the real shortest duration.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Cinnamon Shia <cinnamon.shia@hpe.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
ShellPkg/Library/UefiDpLib/Dp.c