From f5103f2a21871c587d00c92251c44961857ece32 Mon Sep 17 00:00:00 2001 From: klu2 Date: Mon, 27 Nov 2006 02:20:22 +0000 Subject: [PATCH] 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 --- EdkModulePkg/Core/Pei/PeiMain/PeiMain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. // -- 2.39.2