]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Guid/PeiPerformanceHob/PeiPerformanceHob.h
Add in the 1st version of ECP.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Guid / PeiPerformanceHob / PeiPerformanceHob.h
CommitLineData
3eb9473e 1/*++\r
2\r
3Copyright (c) 2004, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13 \r
14 PeiPerformanceHob.h\r
15 \r
16Abstract:\r
17 The PEI performance HOB definition.\r
18\r
19--*/\r
20\r
21#ifndef _PEI_PERFORMANCE_HOB_GUID_H_\r
22#define _PEI_PERFORMANCE_HOB_GUID_H_\r
23\r
24\r
25#define EFI_PEI_PERFORMANCE_HOB_GUID \\r
26{0x10f432de, 0xdeec, 0x4631, 0x80, 0xcd, 0x47, 0xf6, 0x5d, 0x8f, 0x80, 0xbb}\r
27\r
28#define PEI_PERF_MAX_DESC_STRING 8\r
29\r
30typedef struct {\r
31 UINT64 StartTimeCount;\r
32 UINT64 StopTimeCount;\r
33 EFI_GUID Name;\r
34 UINT16 DescriptionString[PEI_PERF_MAX_DESC_STRING];\r
35} PEI_PERFORMANCE_MEASURE_LOG_ENTRY;\r
36\r
37typedef struct {\r
38 UINT32 NumberOfEntries;\r
39 UINT32 Reserved;\r
40 PEI_PERFORMANCE_MEASURE_LOG_ENTRY Log[1];\r
41} EFI_HOB_GUID_DATA_PERFORMANCE_LOG;\r
42\r
43extern EFI_GUID gEfiPeiPerformanceHobGuid;\r
44\r
45#endif\r