Libraries and utilities for instrumenting regions of code and measuring their perform...
[mirror_edk2.git] / PerformancePkg / PerformancePkg.dsc
1 #/** @file
2 # Build description file to generate Shell DP application.
3 #
4 # Copyright (c) 2009-2010, Intel Corporation. All rights reserved.<BR>
5 # This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
9 #
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 #
13 # **/
14
15 [Defines]
16 DSC_SPECIFICATION = 0x00010005
17 PLATFORM_NAME = PerformancePkg
18 PLATFORM_GUID = 9ffd7bf2-231e-4525-9a42-480545dafd17
19 PLATFORM_VERSION = 0.1
20 OUTPUT_DIRECTORY = Build/PerformancePkg
21 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC
22 BUILD_TARGETS = DEBUG|RELEASE
23 SKUID_IDENTIFIER = DEFAULT
24
25 [LibraryClasses]
26 #
27 # Entry Point Libraries
28 #
29 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
30 #
31 # Common Libraries
32 #
33 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
34 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
35 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
36 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
37 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
38 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
39 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
40 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
41 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
42 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
43 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
44 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
45 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
46 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
47 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
48
49 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
50 FileHandleLib|ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.inf
51
52 # This library instance mapping needs adjusting based on platform.
53 # The TimerLib instance must match the TimerLib the platform was built with.
54 # If the platform was built with more than one TimerLib type, then this utility
55 # will produce invalid results for any measurements done with a TimerLib instance
56 # that is different than the one below.
57 #
58 # TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
59 TimerLib|PerformancePkg/Library/TscTimerLib/TscTimerLib.inf
60 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
61 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
62
63 [LibraryClasses.IPF]
64 PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf
65
66 [Components]
67 PerformancePkg/Library/TscTimerLib/TscTimerLib.inf
68 PerformancePkg/Dp_App/Dp.inf