number of performance logging entry is specified by PcdMaxPeiPerformanceLogEntries. \r
\r
Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
+(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
InternalGetPerformanceHobLog (&PeiPerformanceLog, &PeiPerformanceIdArray);\r
\r
if (PeiPerformanceLog->NumberOfEntries >= PcdGet8 (PcdMaxPeiPerformanceLogEntries)) {\r
+ DEBUG ((DEBUG_ERROR, "PEI performance log array out of resources\n"));\r
return RETURN_OUT_OF_RESOURCES;\r
}\r
Index = PeiPerformanceLog->NumberOfEntries++;\r