Cinnamon Shia
a06795c6a6
ShellPkg/UefiDpLib: Support dumping cumulative data
Add a new option -c to dump cumulative data.
For example:
shell> dp -c
==[ Cumulative ]========
(Times in microsec.) Cumulative Average Shortest Longest
Name Count Duration Duration Duration Duration
LoadImage: 200 1000000 7000 0 100000
StartImage: 200 20000000 90000 0 7000000
DB:Start: 200 20000000 100000 0 9000000
DB:Support: 200000 100000 0 0 7000
shell> dp -c DXE
==[ Cumulative ]========
(Times in microsec.) Cumulative Average Shortest Longest
Name Count Duration Duration Duration Duration
LoadImage: 200 1000000 7000 0 100000
StartImage: 200 20000000 90000 0 7000000
DB:Start: 200 20000000 100000 0 9000000
DB:Support: 200000 100000 0 0 7000
DXE 1 30000000 30000000 0 30000000
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: El-Haj-Mahmoud Samer <samer.el-haj-mahmoud@hpe.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18728 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-05 01:59:24 +00:00
..
2015-11-05 01:59:24 +00:00
2015-08-27 04:45:23 +00:00
2015-03-09 22:18:59 +00:00
2015-01-22 01:44:11 +00:00
2015-07-08 01:54:46 +00:00
2015-09-18 02:58:31 +00:00
2015-09-16 08:20:27 +00:00
2015-01-22 01:44:11 +00:00
2015-09-09 04:57:05 +00:00
2015-10-23 02:03:20 +00:00
2015-08-25 14:54:36 +00:00
2015-10-23 02:03:20 +00:00
2015-08-31 03:13:33 +00:00
2015-10-28 01:14:34 +00:00