I'm currently having problems with the contention rate of a partical application (.net 4.0, c#) I'm maintaining. What I would like to do is to write a PerfCounter if one partical lock couldn't be aquired. Right now I just have the overall counter, provided by .net, but I would like to have a PerfCounter for some selected locks.
Profiler etc. is not a option for me, as this is a high performing productive environment that I cannot touch, I can record perfcounters.
ETW events may already provide information on what you need. See ETW overview and Lock contention.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With