From: klu2 Date: Mon, 27 Nov 2006 02:20:22 +0000 (+0000) Subject: The performance data for PEI phase should be collected from pre-memory, so move PERF_... X-Git-Tag: edk2-stable201903~23862 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=f5103f2a21871c587d00c92251c44961857ece32;hp=20bfd422ed24d772cf7e0c8bd214d6ce5a454c68 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 --- diff --git a/EdkModulePkg/Core/Pei/PeiMain/PeiMain.c b/EdkModulePkg/Core/Pei/PeiMain/PeiMain.c index 924336b22d..f8579600f6 100644 --- a/EdkModulePkg/Core/Pei/PeiMain/PeiMain.c +++ b/EdkModulePkg/Core/Pei/PeiMain/PeiMain.c @@ -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. //