Ask a Question

Windows Waiting calls, remove time spent in there

h_hasenack
Occasional Contributor

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 12

Hi Hans,




>>

Still I do not know how elapsed time actually is measured

<<

Actually, it measures the time between entering a routine and leaving it. So, unfortunately, the 'PauseProfileTimer' routine cannot help.

--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
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.

--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: