Star Zeng 
							
						 
					 
					
						
						
							
						
						ce10f482f7 
					 
					
						
						
							
							PerformancePkg DP: 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: 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 > 
						
						
					 
					
						2017-08-14 16:55:44 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
							
						
						9555c09717 
					 
					
						
						
							
							PerformancePkg/Dp_App: Add check to avoid NULL pointer deference  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com > 
						
						
					 
					
						2017-02-28 08:57:43 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						e085023050 
					 
					
						
						
							
							PerformancePkg Dp_App: Fixed GCC build failure caused by  1393510 
						
						... 
						
						
						
						Cc: Michael Kinney <michael.d.kinney@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: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2017-02-24 16:33:27 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						139351093d 
					 
					
						
						
							
							PerformancePkg Dp_App: Remove TimerLib dependency  
						
						... 
						
						
						
						Current Dp_App implementation depends on TimerLib,
as different platforms may implement and use their
own TimerLib, it makes the dp application needs to
be built by platform. The TimerLib dependency can
be removed by using performance property configuration
table to make Dp_App 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 > 
						
						
					 
					
						2017-02-23 09:01:24 -08:00 
						 
				 
			
				
					
						
							
							
								Laszlo Ersek 
							
						 
					 
					
						
						
							
						
						fcfba04abd 
					 
					
						
						
							
							PerformancePkg/Dp_App: rebase to ARRAY_SIZE()  
						
						... 
						
						
						
						Cc: Daryl McDaniel <edk2-lists@mc2research.org >
Cc: Jaben Carsey <jaben.carsey@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com > 
						
						
					 
					
						2016-10-27 11:10:59 +02:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						23cfa2b9f0 
					 
					
						
						
							
							PerformancePkg: Replace UnicodeStrToAsciiStr/AsciiStrToUnicodeStr  
						
						... 
						
						
						
						It is the follow up of 3ab41b7a32jiewen.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 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						bd1f388860 
					 
					
						
						
							
							PerformancePkg Dp_App: Delete InitCumulativeData()  
						
						... 
						
						
						
						InitCumulativeData is introduced by d28f77df0fcinnamon.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 > 
						
						
					 
					
						2016-05-03 12:42:44 +08:00 
						 
				 
			
				
					
						
							
							
								Qiu Shumin 
							
						 
					 
					
						
						
							
						
						b7b2b3c8be 
					 
					
						
						
							
							PerformancePkg: Make Dp print help information with -? flag in Shell.  
						
						... 
						
						
						
						Since Shell supports finding help information from resource section
of application image. We enhance the Dp to add help information
string. After the Dp are loaded in system the help string will
be stored in resource section of the application image.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com > 
						
						
					 
					
						2016-04-15 11:24:25 +08:00 
						 
				 
			
				
					
						
							
							
								Cinnamon Shia 
							
						 
					 
					
						
						
							
						
						38ac6bf1a6 
					 
					
						
						
							
							PerformancePkg/Dp_App: Fix a memory leak issue in Dp.  
						
						... 
						
						
						
						The allocated memory of ParamPackage is not freed.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com >
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com > 
						
						
					 
					
						2016-03-29 09:16:24 +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 
						 
				 
			
				
					
						
							
							
								Qiu Shumin 
							
						 
					 
					
						
						
							
						
						c4ace58253 
					 
					
						
						
							
							PerformancePkg\Dp_App: Add NULL check to pointer returned from 'AllocateZeroPool'.  
						
						... 
						
						
						
						When CustomCumulativeToken is not NULL, the CustomCumulativeData is expected non-NULL.
Add 'ASSERT' statement to ensure this.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18955  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-11-26 01:47:14 +00: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 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						18d37b829c 
					 
					
						
						
							
							Add description for the parameter of SafeFreePool().  
						
						... 
						
						
						
						Signed-off-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12679  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-11-10 01:44:22 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						cdd9529279 
					 
					
						
						
							
							Add NULL pointer check before free pool.  
						
						... 
						
						
						
						Signed-off-by: lzeng14
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12656  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-11-03 02:45:25 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						aec905b7d3 
					 
					
						
						
							
							Fixed build error  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11045  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-11-12 07:35:37 +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 
							
						 
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
							
							
								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