summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Include
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2018-01-31 09:57:57 +0800
committerStar Zeng <star.zeng@intel.com>2018-02-12 11:36:16 +0800
commitae957a59f7b6f3e9144544db6721bc3e6aab6ee3 (patch)
treec3195c00d09aacff74da901b47b16a931b1efde0 /MdeModulePkg/Include
parentca3817dc1785ee933006393ff89f2834662d2004 (diff)
downloadedk2-ae957a59f7b6f3e9144544db6721bc3e6aab6ee3.tar.gz
edk2-ae957a59f7b6f3e9144544db6721bc3e6aab6ee3.tar.bz2
edk2-ae957a59f7b6f3e9144544db6721bc3e6aab6ee3.zip
MdeModulePkg/Performance.h: Remove the useless definition
Remove the definitions related to old perf codes. Cc: Star Zeng <star.zeng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/Include')
-rw-r--r--MdeModulePkg/Include/Guid/Performance.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/MdeModulePkg/Include/Guid/Performance.h b/MdeModulePkg/Include/Guid/Performance.h
index df40c6ce5b..6e21ed03e6 100644
--- a/MdeModulePkg/Include/Guid/Performance.h
+++ b/MdeModulePkg/Include/Guid/Performance.h
@@ -4,7 +4,7 @@
* performance protocol interfaces.
* performance variables.
-Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
@@ -51,31 +51,6 @@ typedef struct {
} PEI_PERFORMANCE_LOG_HEADER;
-//
-// The data structure for performance data in ACPI memory.
-//
-#define PERFORMANCE_SIGNATURE SIGNATURE_32 ('P', 'e', 'r', 'f')
-#define PERF_TOKEN_SIZE 28
-#define PERF_TOKEN_LENGTH (PERF_TOKEN_SIZE - 1)
-#define PERF_PEI_ENTRY_MAX_NUM 50
-#define PERF_DATA_MAX_LENGTH 0x4000
-
-typedef struct {
- CHAR8 Token[PERF_TOKEN_SIZE];
- UINT32 Duration;
-} PERF_DATA;
-
-typedef struct {
- UINT64 BootToOs;
- UINT64 S3Resume;
- UINT32 S3EntryNum;
- PERF_DATA S3Entry[PERF_PEI_ENTRY_MAX_NUM];
- UINT64 CpuFreq;
- UINT64 BDSRaw;
- UINT32 Count;
- UINT32 Signiture;
-} PERF_HEADER;
-
#define PERFORMANCE_PROTOCOL_GUID \
{ 0x76b6bdfa, 0x2acd, 0x4462, { 0x9E, 0x3F, 0xcb, 0x58, 0xC9, 0x69, 0xd9, 0x37 } }