Show PEIM GUID in PERF log.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11209 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2010-12-30 09:38:38 +00:00
parent e24adb18e3
commit c3522526f1
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -612,11 +612,11 @@ ProcessPeims(
Duration = GetDuration (&Measurement); Duration = GetDuration (&Measurement);
ElapsedTime = DurationInMicroSeconds ( Duration ); // Calculate elapsed time in microseconds ElapsedTime = DurationInMicroSeconds ( Duration ); // Calculate elapsed time in microseconds
if (ElapsedTime >= mInterestThreshold) { if (ElapsedTime >= mInterestThreshold) {
GetNameFromHandle ((EFI_HANDLE) Measurement.Handle); // Name placed in mGaugeString // PEIM FILE Handle is the start address of its FFS file that contains its file guid.
PrintToken (STRING_TOKEN (STR_DP_PEIM_STAT2), PrintToken (STRING_TOKEN (STR_DP_PEIM_STAT2),
TIndex, // 1 based, Which measurement record is being printed TIndex, // 1 based, Which measurement record is being printed
Measurement.Handle, Measurement.Handle, // base address
mGaugeString, Measurement.Handle, // file guid
ElapsedTime ElapsedTime
); );
} }