- Vikram S
Just to add to this. I am using a third party library where I suspect
of having this kind of bottle neck.
Yes, you can observe contention count of critical section objects.
See this article for more details:
"Break Free of Code Deadlocks in Critical Sections Under Windows"
http://msdn.microsoft.com/en-us/magazine/cc164040.aspx
Also, this article demonstrates debugging technique how to locate
"hot spots". The article is about .NET application, but they use
WinDbg to debug native threads.
"Debugging Contention Problems"
http://msdn.microsoft.com/en-us/library/ms954592.aspx
HTH
Alex
We use Memory Validator for leak detection and it has
some profiling that shows hot spots as well.
http://memoryvalidator.com/productsCpp.html
They have some other profilers etc. Good support and
decent price.