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:
@ -178,7 +178,7 @@ Returns:
|
|||||||
//
|
//
|
||||||
// Alert any listeners that there is permanent memory available
|
// Alert any listeners that there is permanent memory available
|
||||||
//
|
//
|
||||||
PERF_START (NULL,"PEI", NULL, mTick);
|
|
||||||
PERF_START (NULL,"DisMem", NULL, 0);
|
PERF_START (NULL,"DisMem", NULL, 0);
|
||||||
Status = PeiServicesInstallPpi (&mMemoryDiscoveredPpi);
|
Status = PeiServicesInstallPpi (&mMemoryDiscoveredPpi);
|
||||||
PERF_END (NULL,"DisMem", NULL, 0);
|
PERF_END (NULL,"DisMem", NULL, 0);
|
||||||
@ -193,6 +193,7 @@ Returns:
|
|||||||
EFI_SOFTWARE_PEI_CORE | EFI_SW_PC_INIT
|
EFI_SOFTWARE_PEI_CORE | EFI_SW_PC_INIT
|
||||||
);
|
);
|
||||||
|
|
||||||
|
PERF_START (NULL,"PEI", NULL, mTick);
|
||||||
//
|
//
|
||||||
// If first pass, start performance measurement.
|
// If first pass, start performance measurement.
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user