Remove the useless performance logging code in BootScriptExecutorDxe driver and record S3 "ScriptExec" performance log before and after executing BootScriptExecutorEntrypoint in S3Reusme2Pei driver.
Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13108 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -390,6 +390,8 @@ S3ResumeBootOs (
|
||||
//
|
||||
AsmWriteIdtr (&PeiS3ResumeState->Idtr);
|
||||
|
||||
PERF_END (NULL, "ScriptExec", NULL, 0);
|
||||
|
||||
//
|
||||
// Install BootScriptDonePpi
|
||||
//
|
||||
@@ -742,6 +744,8 @@ S3ResumeExecuteBootScript (
|
||||
//
|
||||
AsmReadIdtr (&PeiS3ResumeState->Idtr);
|
||||
|
||||
PERF_START (NULL, "ScriptExec", NULL, 0);
|
||||
|
||||
if (FeaturePcdGet (PcdDxeIplSwitchToLongMode)) {
|
||||
//
|
||||
// X64 S3 Resume
|
||||
|
Reference in New Issue
Block a user