Commit Graph

74 Commits

Author SHA1 Message Date
mdkinney eaccfcc12a Clean up DEC files:
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-05-09 17:51:18 +00:00
lzeng14 a176509a7f Store and get TSC Frequency with system configuration Table.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11572 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-20 05:14:00 +00:00
ydong10 da0924fe8f PerformancePkg.dsc:
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-04-01 06:30:43 +00:00
ydong10 abf2162c51 Update inf file to follow spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11452 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-30 03:37:47 +00:00
ydong10 3a63a42554 Enhance inf to follow spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11394 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 08:47:08 +00:00
mdkinney 19dd3f7d89 Update DebugLib to provide support for "err" command in the EFI Shell to 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-03-10 22:39:18 +00:00
lzeng14 d66e9f0d04 Add comments for the two parameters of DxeTscTimerLibConstructor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11328 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-22 06:21:52 +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 d50f6f8be8 TscTimerLib in PerformancePkg is a BASE type library, which should be used 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-02-15 02:02:06 +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 f97c2415d2 Refine coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11049 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12 08:00:23 +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 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
vanjeff efca00e2b5 pass build for IPF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10980 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-26 03:07: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
qhuang8 3b7e958efd Move TscTimerLib library to correct CPU ARCH as it depends on BaseLib API 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-19 03:33:07 +00:00
qhuang8 24cd83a779 Remove unicode code in source code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10515 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-19 03:30:22 +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