ShellPkg UefiDpLib: Remove TimerLib dependency
Current UefiDpLib implementation depends on TimerLib, as different platforms may implement and use their own TimerLib, it makes the dp command needs to be built by platform. The TimerLib dependency can be removed by using performance property configuration table to make UefiDpLib to be generic. Cc: Andrew Fish <afish@apple.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Cinnamon Shia <cinnamon.shia@hpe.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Andrew Fish <afish@apple.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
committed by
Michael Kinney
parent
139351093d
commit
ef22403278
@@ -6,7 +6,7 @@
|
||||
Dp application. In addition to global data, function declarations for
|
||||
DpUtilities.c, DpTrace.c, and DpProfile.c are included here.
|
||||
|
||||
Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.
|
||||
Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
|
||||
(C) Copyright 2015-2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -236,12 +236,10 @@ DumpRawTrace(
|
||||
/**
|
||||
Gather and print Major Phase metrics.
|
||||
|
||||
@param[in] Ticker The timer value for the END of Shell phase
|
||||
|
||||
**/
|
||||
VOID
|
||||
ProcessPhases(
|
||||
IN UINT64 Ticker
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user