12#ifndef __PERFORMANCE_DATA_H__
13#define __PERFORMANCE_DATA_H__
15#define PERFORMANCE_PROPERTY_REVISION 0x1
21 UINT64 TimerStartValue;
28#define PEI_PERFORMANCE_STRING_SIZE 8
29#define PEI_PERFORMANCE_STRING_LENGTH (PEI_PERFORMANCE_STRING_SIZE - 1)
33 CHAR8 Token[PEI_PERFORMANCE_STRING_SIZE];
34 CHAR8 Module[PEI_PERFORMANCE_STRING_SIZE];
47#define PERFORMANCE_PROTOCOL_GUID \
48 { 0x76b6bdfa, 0x2acd, 0x4462, { 0x9E, 0x3F, 0xcb, 0x58, 0xC9, 0x69, 0xd9, 0x37 } }
50#define PERFORMANCE_EX_PROTOCOL_GUID \
51 { 0x1ea81bec, 0xf01a, 0x4d98, { 0xa2, 0x1, 0x4a, 0x61, 0xce, 0x2f, 0xc0, 0x22 } }
62#define DXE_PERFORMANCE_STRING_SIZE 32
63#define DXE_PERFORMANCE_STRING_LENGTH (DXE_PERFORMANCE_STRING_SIZE - 1)
68#define INIT_DXE_GAUGE_DATA_ENTRIES 800
72 CHAR8 Token[DXE_PERFORMANCE_STRING_SIZE];
73 CHAR8 Module[DXE_PERFORMANCE_STRING_SIZE];
80 CHAR8 Token[DXE_PERFORMANCE_STRING_SIZE];
81 CHAR8 Module[DXE_PERFORMANCE_STRING_SIZE];
99#define SMM_PERFORMANCE_PROTOCOL_GUID \
100 { 0xf866226a, 0xeaa5, 0x4f5a, { 0xa9, 0xa, 0x6c, 0xfb, 0xa5, 0x7c, 0x58, 0x8e } }
102#define SMM_PERFORMANCE_EX_PROTOCOL_GUID \
103 { 0x931fc048, 0xc71d, 0x4455, { 0x89, 0x30, 0x47, 0x6, 0x30, 0xe3, 0xe, 0xe5 } }
108#define SMM_PERFORMANCE_STRING_SIZE 32
109#define SMM_PERFORMANCE_STRING_LENGTH (SMM_PERFORMANCE_STRING_SIZE - 1)
114#define INIT_SMM_GAUGE_DATA_ENTRIES 200
119 UINTN NumberOfEntries;
127 UINTN NumberOfEntries;
132#define SMM_PERF_FUNCTION_GET_GAUGE_ENTRY_NUMBER 1
133#define SMM_PERF_FUNCTION_GET_GAUGE_DATA 2
331extern EFI_GUID gPerformanceProtocolGuid;
332extern EFI_GUID gSmmPerformanceProtocolGuid;
333extern EFI_GUID gPerformanceExProtocolGuid;
334extern EFI_GUID gSmmPerformanceExProtocolGuid;
UINT64 EFI_PHYSICAL_ADDRESS
UINT32 Identifier
Identifier.
UINT64 EndTimeStamp
End time point.
UINT64 StartTimeStamp
Start time point.
UINT64 EndTimeStamp
End time point.
UINT64 StartTimeStamp
Start time point.
UINT32 NumberOfEntries
The number of all performance gauge entries.
UINT64 StartTimeStamp
Start time point.
UINT64 EndTimeStamp
End time point.
UINT32 NumberOfEntries
The number of all performance log entries.