]>
Commit | Line | Data |
---|---|---|
d042c6e8 | 1 | ## @file\r |
2 | # Performance library instance used in SMM phase.\r | |
3 | # \r | |
4 | # This library instance provides infrastructure for SMM drivers to log performance\r | |
f0da4d7d SZ |
5 | # data. It consumes SMM PerformanceEx or Performance Protocol published by SmmCorePerformanceLib\r |
6 | # to log performance data. If both SMM PerformanceEx and Performance Protocol are not available, it does not log any\r | |
d042c6e8 | 7 | # performance information.\r |
8 | # \r | |
f0da4d7d | 9 | # Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>\r |
d042c6e8 | 10 | # This program and the accompanying materials\r |
11 | # are licensed and made available under the terms and conditions of the BSD License\r | |
12 | # which accompanies this distribution. The full text of the license may be found at\r | |
13 | # http://opensource.org/licenses/bsd-license.php\r | |
14 | # \r | |
15 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
16 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
17 | # \r | |
18 | ##\r | |
19 | \r | |
20 | [Defines]\r | |
21 | INF_VERSION = 0x00010005\r | |
22 | BASE_NAME = SmmPerformanceLib\r | |
23 | FILE_GUID = 1EDD13E6-D0CD-4432-A692-FF65C9B4F039\r | |
24 | MODULE_TYPE = DXE_SMM_DRIVER\r | |
25 | VERSION_STRING = 1.0\r | |
26 | LIBRARY_CLASS = PerformanceLib|DXE_SMM_DRIVER\r | |
27 | \r | |
28 | CONSTRUCTOR = SmmPerformanceLibConstructor\r | |
29 | \r | |
30 | #\r | |
31 | # The following information is for reference only and not required by the build tools.\r | |
32 | #\r | |
33 | # VALID_ARCHITECTURES = IA32 X64\r | |
34 | #\r | |
35 | \r | |
36 | [Sources]\r | |
37 | SmmPerformanceLib.c\r | |
38 | \r | |
39 | \r | |
40 | [Packages]\r | |
41 | MdePkg/MdePkg.dec\r | |
42 | MdeModulePkg/MdeModulePkg.dec\r | |
43 | \r | |
44 | \r | |
45 | [LibraryClasses]\r | |
46 | PcdLib\r | |
47 | SmmServicesTableLib\r | |
48 | DebugLib\r | |
49 | BaseMemoryLib\r | |
50 | \r | |
d042c6e8 | 51 | [Guids]\r |
f0da4d7d SZ |
52 | gSmmPerformanceProtocolGuid ## SOMETIMES_CONSUMES\r |
53 | gSmmPerformanceExProtocolGuid ## SOMETIMES_CONSUMES\r | |
d042c6e8 | 54 | \r |
55 | [Pcd]\r | |
56 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask\r |