Re: [edk2] Performance enabling of Event handler

2018-09-10 Thread prabin ca
;> >> Thanks, >> Dandan >> >> -Original Message- >> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of >> prabin ca >> Sent: Friday, September 7, 2018 10:30 AM >> To: Laszlo Ersek >> Cc: Bi, Dandan ; edk2-devel

Re: [edk2] Performance enabling of Event handler

2018-09-07 Thread Bi, Dandan
...@gmail.com] Sent: Friday, September 7, 2018 11:57 PM To: Bi, Dandan Cc: Laszlo Ersek ; edk2-devel@lists.01.org; af...@apple.com Subject: Re: [edk2] Performance enabling of Event handler Hi Yes it is included in same module (both event handler and function handler), and I’m not perf_start and

Re: [edk2] Performance enabling of Event handler

2018-09-07 Thread prabin ca
2018 10:30 AM > To: Laszlo Ersek > Cc: Bi, Dandan ; edk2-devel@lists.01.org; af...@apple.com > Subject: Re: [edk2] Performance enabling of Event handler > > Hi, > PerformancePkg is not working with event handlers, but it’s working with > normal functions handlers. > >&g

Re: [edk2] Performance enabling of Event handler

2018-09-06 Thread Bi, Dandan
enabling of Event handler Hi, PerformancePkg is not working with event handlers, but it’s working with normal functions handlers. > On 06-Sep-2018, at 3:28 PM, Laszlo Ersek wrote: > >> On 09/06/18 08:10, prabin ca wrote: >> Hi Team, >> >> I’m used edk2 PerformancePkg fo

Re: [edk2] Performance enabling of Event handler

2018-09-06 Thread Andrew Fish
Prabin, Last time I looked every call to PERF_START()/PERF_END() creates a new performance record. So it does not work well for a function that is called a large number of times. Thanks, Andrew Fish > On Sep 6, 2018, at 7:30 PM, prabin ca wrote: > > Hi, > PerformancePkg is not working

Re: [edk2] Performance enabling of Event handler

2018-09-06 Thread prabin ca
Hi, PerformancePkg is not working with event handlers, but it’s working with normal functions handlers. > On 06-Sep-2018, at 3:28 PM, Laszlo Ersek wrote: > >> On 09/06/18 08:10, prabin ca wrote: >> Hi Team, >> >> I’m used edk2 PerformancePkg for profiling cpu execution time taken by a >>

Re: [edk2] Performance enabling of Event handler

2018-09-06 Thread Laszlo Ersek
On 09/06/18 08:10, prabin ca wrote: > Hi Team, > > I’m used edk2 PerformancePkg for profiling cpu execution time taken by a > event handler. Event is created successfully and event handler is also called > successfully, but I can capture the performance of this event handler with >

[edk2] Performance enabling of Event handler

2018-09-06 Thread prabin ca
Hi Team, I’m used edk2 PerformancePkg for profiling cpu execution time taken by a event handler. Event is created successfully and event handler is also called successfully, but I can capture the performance of this event handler with PerformancePkg (by using perf_start and perf_end check