\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
and its end time stamp is zero, then the index of that log entry is returned;\r
otherwise, the the number of log entries in the array is returned.\r
\r
+ @param PeiPerformanceLog Pointer to the data structure containing PEI \r
+ performance data.\r
@param Handle Pointer to environment specific context used\r
to identify the component being measured.\r
@param Token Pointer to a Null-terminated ASCII string\r