WaitForSingleObject
by Rustam Akhtyamov · in Torque 3D Professional · 01/21/2013 (5:19 am) · 1 replies
Recently downloaded from GIT Torque3D. Made a project from 'Full' template. Run level with terrain only and attached profiler (Intel Vtune Amplifier). After some running and jumping over terrain I closed application
and watched statistics in profiler: 20% of all was WaitForSingleObjectExImplementation. What's that? Is it normal to spend so much time just waiting something?
See screenshot: http://yadi.sk/d/HPcuTFpo20SZ6
and watched statistics in profiler: 20% of all was WaitForSingleObjectExImplementation. What's that? Is it normal to spend so much time just waiting something?
See screenshot: http://yadi.sk/d/HPcuTFpo20SZ6
Torque Owner Demolishun
DemolishunConsulting Rocks!
I would recommend searching the code. Search for WaitForSingleObject. I think WaitForSingleObjectExImplementation is the name of something after a macro expansion.
I did a quick search for WaitForSingleObject and it looks to me to be a thread synchronization/event check object based upon its use. It looks like to me that this time spent waiting for events is probably normal.
So when is doubt RTFC (Read The Freakin' Code) in lieu of a manual. There is a LOT of it.
Welcome to GG!