Star Zeng
23cfa2b9f0
PerformancePkg: Replace UnicodeStrToAsciiStr/AsciiStrToUnicodeStr
...
It is the follow up of 3ab41b7a32
to replace UnicodeStrToAsciiStr/AsciiStrToUnicodeStr with
UnicodeStrToAsciiStrS/AsciiStrToUnicodeStrS.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.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: Jaben Carsey <jaben.carsey@intel.com>
2016-06-21 12:46:25 +08:00
Cinnamon Shia
3e9de670ec
PerformancePkg/Dp_App: Support execution break
...
Support UEFI shell execution break.
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: Samer EL-Haj-Mahmoud <elhaj@hpe.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2016-03-08 18:23:49 +08:00
Cinnamon Shia
aae1a87555
PerformancePkg/Dp_App: Refine the code of locating all handles in DpTrace.c.
...
Replace gBS->LocateHandle with gBS->LocateHandleBuffer
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: Samer El-Haj-Mahmoud <elhaj@hpe.com>
2016-02-18 09:40:35 +08:00
Cinnamon Shia
d28f77df0f
PerformancePkg/Dp_App: 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: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18762 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-10 04:57:14 +00:00
lzeng14
0b84f444de
Add new extension PerformanceLib APIs to store ID info.
...
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13216 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-24 09:15:10 +00:00
ydong10
86da563d36
Refine the code to follow coding style.
...
Signed-off-by: ydong10
Reviewed-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12805 6f19259b-4bc3-4df7-8a09-765794883524
2011-12-01 04:31:46 +00:00
lzeng14
a2daf8dbec
Update DP to get Image name with the following methods orderly.
...
1. Image PDB
2. ComponentName2 protocol
3. FFS UI section
4. Image GUID
5. Image DevicePath
6. Unknown Driver Name
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12779 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-25 02:24:07 +00:00
ydong10
cbdf19a53e
Refine coding style.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11323 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-18 02:11:53 +00:00
lzeng14
0d70a7090f
ProcessCumulative() function always calculates the average performance by dividing the count of performance record.
...
When the count is zero, it will report exception, so it needs to be enhanced to check the dividend.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11260 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-20 11:18:14 +00:00
lgao4
c3522526f1
Show PEIM GUID in PERF log.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11209 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-30 09:38:38 +00:00
ydong10
5460c4bbc5
Fix build error.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11054 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-15 02:14:25 +00:00
ydong10
8835954602
Move some define code to the uni file. Also fixed some memory leak.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11015 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-09 03:22:42 +00:00
ydong10
224beee0fa
Fix tracker for build error.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11014 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-09 02:09:56 +00:00
ydong10
9dd7461870
Refine code to make code follow the coding style.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11011 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-08 05:28:01 +00:00
ydong10
fc48db0da0
Refine code to make code run more safely.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11006 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-05 06:28:33 +00:00
jljusten
16d5d16832
PerformancePkg: Fix build with GCC
...
Fix compiler warnings and include filename issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10902 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-29 15:49:20 +00:00
hhtian
92ea1df875
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10427 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-24 12:09:16 +00:00
darylm503
c06ad33ed2
Libraries and utilities for instrumenting regions of code and measuring their performance.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10417 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 17:00:32 +00:00