summaryrefslogtreecommitdiff
path: root/PerformancePkg
AgeCommit message (Collapse)AuthorFilesLines
2011-08-25Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to ↵xdu22-0/+88
time in unit of nanoseconds. Signed-off-by: xdu2 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12206 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-22Fix GCC build error.lzeng141-1/+1
Signed-off-by: lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12180 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-17Allocate memory buffer to store TscFrequency, and InstallConfigurationTable ↵lzeng142-6/+12
with the pointer to this buffer. Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12151 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-30Update code to pass packaging tool.lzeng142-5/+3
Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11712 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-09Clean up DEC files:mdkinney1-3/+3
1) Remove section header comment blocks that do not provide any information 2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead 3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions. 4) Clean up formatting of GUID structure declarations 5) Remove ".common" from section names if they are not required. 6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx] git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11635 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-20Store and get TSC Frequency with system configuration Table.lzeng142-15/+18
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11572 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-01PerformancePkg.dsc: ydong101-1/+2
1. Change FileHandleLib instance path. 2. Add SortLib used by ShellLib. Detail: This library instance was renamed from BaseFileHandleLib to UefiFileHandleLib in r11421. The SortLib is added to be used by ShellLib in r11424. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11496 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-30Update inf file to follow spec.ydong101-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11452 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14Enhance inf to follow spec.ydong102-4/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11394 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney1-0/+1
adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 1) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11375 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-22Add comments for the two parameters of DxeTscTimerLibConstructor.lzeng141-0/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11328 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-18Refine coding style.ydong102-18/+18
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11323 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-15TscTimerLib in PerformancePkg is a BASE type library, which should be used ↵lzeng149-33/+440
by any module type. But its constructor uses the global variable mTscFrequency to store frequency, which doesn't work on XIP PEIM. Split it to two LIBs for PEI and DXE separately. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11312 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-20ProcessCumulative() function always calculates the average performance by ↵lzeng141-13/+15
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
2010-12-30Show PEIM GUID in PERF log.lgao42-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11209 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-15Fix build error.ydong101-6/+14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11054 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12Refine coding style.ydong102-140/+196
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11049 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12Fixed build errorydong102-4/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11045 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-09Move some define code to the uni file. Also fixed some memory leak.ydong108-91/+197
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11015 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-09Fix tracker for build error.ydong101-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11014 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-08Refine code to make code follow the coding style.ydong107-221/+249
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11011 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-05Refine code to make code run more safely.ydong101-5/+15
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11006 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-26pass build for IPF.vanjeff1-0/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10980 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-29PerformancePkg: Fix build with GCCjljusten3-7/+7
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-05-19Move TscTimerLib library to correct CPU ARCH as it depends on BaseLib API ↵qhuang81-3/+7
AsmReadTsc(), which is only available for Ia32 & x64 CPU. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10516 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-19Remove unicode code in source code.qhuang81-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10515 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-24Update the copyright notice formathhtian16-15/+15
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10427 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23Libraries and utilities for instrumenting regions of code and measuring ↵darylm50316-0/+2452
their performance. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10417 6f19259b-4bc3-4df7-8a09-765794883524