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 <[email protected]> wrote:
> 
> 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 <[email protected]> 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 
>>> 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 
>>> points). This PerformancePkg is working fine with normal function calls.
>> 
>> Do you mean "can not", instead of "can"? (Sorry, I don't understand.)
>> 
>>> 
>>> Please help me to enable PerformancePkg action on event handler also.
>>> 
>> 
>> Hmmm, even with the suggested typo correction, I wouldn't know what to
>> suggest. Sorry!
>> 
>> Laszlo

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to