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:
lzeng14
2012-03-19 02:52:15 +00:00
parent 5d81a9b3a8
commit 5c0687ccc2
4 changed files with 5 additions and 114 deletions

View File

@@ -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