//\r
// Dump PEI Log Entries to DXE Guage Data structure.\r
//\r
- GuidHob = GetFirstGuidHob (&gPeiPerformanceHobGuid);\r
+ GuidHob = GetFirstGuidHob (&gPerformanceProtocolGuid);\r
if (GuidHob != NULL) {\r
LogHob = GET_GUID_HOB_DATA (GuidHob);\r
LogEntryArray = (PEI_PERFORMANCE_LOG_ENTRY *) (LogHob + 1);\r
\r
\r
[Guids]\r
- gPeiPerformanceHobGuid ## CONSUMES ## HOB\r
-\r
-\r
-[Protocols]\r
- gPerformanceProtocolGuid # PRODUCES\r
+ gPerformanceProtocolGuid ## CONSUMES ## HOB\r
+ gPerformanceProtocolGuid ## PRODUCES ## PROTOCOL\r
\r
[Pcd.common]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries\r
\r
#include <PiDxe.h>\r
\r
-#include <Protocol/Performance.h>\r
-#include <Guid/PeiPerformanceHob.h>\r
+#include <Guid/Performance.h>\r
\r
#include <Library/PerformanceLib.h>\r
#include <Library/DebugLib.h>\r
\r
#include <PiDxe.h>\r
\r
-#include <Protocol/Performance.h>\r
+#include <Guid/Performance.h>\r
\r
#include <Library/PerformanceLib.h>\r
#include <Library/DebugLib.h>\r
DebugLib\r
\r
\r
-[Protocols]\r
- gPerformanceProtocolGuid ## CONSUMES\r
+[Guids]\r
+ gPerformanceProtocolGuid ## CONSUMES ## PROTOCOL\r
\r
\r
[Pcd.common]\r
\r
#include <PiPei.h>\r
\r
-#include <Guid/PeiPerformanceHob.h>\r
+#include <Guid/Performance.h>\r
\r
#include <Library/PerformanceLib.h>\r
#include <Library/DebugLib.h>\r
PEI_PERFORMANCE_LOG_HEADER *PeiPerformanceLog;\r
UINTN PeiPerformanceLogSize;\r
\r
- GuidHob = GetFirstGuidHob (&gPeiPerformanceHobGuid);\r
+ GuidHob = GetFirstGuidHob (&gPerformanceProtocolGuid);\r
\r
if (GuidHob != NULL) {\r
//\r
//\r
PeiPerformanceLogSize = sizeof (PEI_PERFORMANCE_LOG_HEADER) +\r
sizeof (PEI_PERFORMANCE_LOG_ENTRY) * PcdGet8 (PcdMaxPeiPerformanceLogEntries);\r
- PeiPerformanceLog = BuildGuidHob (&gPeiPerformanceHobGuid, PeiPerformanceLogSize);\r
+ PeiPerformanceLog = BuildGuidHob (&gPerformanceProtocolGuid, PeiPerformanceLogSize);\r
PeiPerformanceLog = ZeroMem (PeiPerformanceLog, PeiPerformanceLogSize);\r
}\r
\r
\r
\r
[Guids]\r
- gPeiPerformanceHobGuid ## HOB\r
+ gPerformanceProtocolGuid ## HOB\r
\r
[Pcd.common]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries\r