Forum Discussion

h_hasenack's avatar
h_hasenack
Occasional Contributor
15 years ago

Windows Waiting calls, remove time spent in there

So' I'm the one to deflorate the AQtime6 thread...

Wondering If I'll ever get an answer!



I'm playing around with aqtime at home to understand the tool better.

(Been a user of aqtime4 a long time)



Here's the thing... I want to performance profile my thread pool class. These pooled threads spend most of their time blocked in WaitForMultipleObjectsEx



This is not very interesting: I just want to know all the other overhead. How can I 'ignore' these routines, or otherwise NOT take in account the time spent in there for the total time of the routine that actually calls the  WaitForMultipleObjectsEx



I've tried Adding trigger on Kernel32.WaitForMultipleObjectsEx to an OFF trigger but no luck. My profiling area is set to my own source code only, and the Execute method of the thread is added to an ON trigger. ). Initial profiling off.



Regards / Hans

SG and partners BV

12 Replies

  • h_hasenack's avatar
    h_hasenack
    Occasional Contributor
    Somehow I expected this answer already... I got the same reply from Allen bij email. :)

    Anyway - let's hope for a quick implementation of my Phenom X4 processor, and for a fix in order to avoid having to run Win7x64 (or WinXPx64 for that matter) in debugging mode.

    :( When an app crashes, the whole system freezes because it jumps into debugging mode on a serial port...):



    Regards - Hans
  • Hi Hans,




    >>

    ...and for a fix in order to avoid having to run Win7x64 (or WinXPx64 for that matter) in debugging mode. 

    <<

    Unfortunately, we are not aware of another way to disable the Kernel Patch Protection system.