The performance data for PEI phase should be collected from pre-memory, so move PERF_START macro to correct place.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2015 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2006-11-27 02:20:22 +00:00
parent 20bfd422ed
commit f5103f2a21
1 changed files with 2 additions and 1 deletions

View File

@ -178,7 +178,7 @@ Returns:
//
// Alert any listeners that there is permanent memory available
//
PERF_START (NULL,"PEI", NULL, mTick);
PERF_START (NULL,"DisMem", NULL, 0);
Status = PeiServicesInstallPpi (&mMemoryDiscoveredPpi);
PERF_END (NULL,"DisMem", NULL, 0);
@ -193,6 +193,7 @@ Returns:
EFI_SOFTWARE_PEI_CORE | EFI_SW_PC_INIT
);
PERF_START (NULL,"PEI", NULL, mTick);
//
// If first pass, start performance measurement.
//