Re: [edk2] [patch] UefiCpuPkg/S3Resume: Add more perf enrty for S3 phase

2018-01-26 Thread Laszlo Ersek
On 01/26/18 07:02, Gao, Liming wrote: > Laszlo: > Here is PERF macro PERF_START_EX(Handle, Token, Module, TimeStamp, > Identifier). > > Handle is the image handle or device handle. PerfLib can base on Handle to > get its FILE guid. > Token is the measured token name. > Module is the

Re: [edk2] [patch] UefiCpuPkg/S3Resume: Add more perf enrty for S3 phase

2018-01-25 Thread Gao, Liming
Laszlo: Here is PERF macro PERF_START_EX(Handle, Token, Module, TimeStamp, Identifier). Handle is the image handle or device handle. PerfLib can base on Handle to get its FILE guid. Token is the measured token name. Module is the measured module name. PERF_START macro is added before

Re: [edk2] [patch] UefiCpuPkg/S3Resume: Add more perf enrty for S3 phase

2018-01-25 Thread Laszlo Ersek
On 01/25/18 05:56, Bi, Dandan wrote: > Hi Laszlo, > > Thank you for your comments. > > Yes. The PERF_INMODULE_START_ID macro is from "ExtendedFirmwarePerformance.h" > which is added in the new performance infrastructure patches([ mail subject: > patch 0/8] Update EDKII Performance

Re: [edk2] [patch] UefiCpuPkg/S3Resume: Add more perf enrty for S3 phase

2018-01-24 Thread Bi, Dandan
Hi Laszlo, Thank you for your comments. Yes. The PERF_INMODULE_START_ID macro is from "ExtendedFirmwarePerformance.h" which is added in the new performance infrastructure patches([ mail subject: patch 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table). That is the

Re: [edk2] [patch] UefiCpuPkg/S3Resume: Add more perf enrty for S3 phase

2018-01-24 Thread Laszlo Ersek
On 01/24/18 08:59, Dandan Bi wrote: > Add more perf entry to hook BootScriptDonePpi/EndOfPeiPpi/ > EndOfS3Resume. > > Notes: This patch depends on the new performance > infrastructure. Since this statement is going into the commit log, please be more specific about the "new performance

[edk2] [patch] UefiCpuPkg/S3Resume: Add more perf enrty for S3 phase

2018-01-24 Thread Dandan Bi
Add more perf entry to hook BootScriptDonePpi/EndOfPeiPpi/ EndOfS3Resume. Notes: This patch depends on the new performance infrastructure. Cc: Eric Dong Cc: Laszlo Ersek Cc: Liming Gao Contributed-under: TianoCore Contribution