mirror of https://github.com/acidanthera/audk.git
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:
parent
e24adb18e3
commit
c3522526f1
Binary file not shown.
|
@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue