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