开发者

VS 2010 Performance Profiler : Identifying Threads

开发者 https://www.devze.com 2023-02-11 09:20 出处:网络
I have launched a performance wizard in VS2010 to audit thread concurrency in my Application. Is there a way to identify exactly what specific threads \"Worker Threads开发者_如何学Go\" point to in my

I have launched a performance wizard in VS2010 to audit thread concurrency in my Application.

Is there a way to identify exactly what specific threads "Worker Threads开发者_如何学Go" point to in my app ?

Indeed, I launch worker threads. Is there a way to name them and/or timestamp same logical thread that is launched many times. (Am I using this right or is it a loony idea ?)

This would allow me to identify threads which cause high Cross-Core context switches and take action (right ? )

VS 2010 Performance Profiler : Identifying Threads


Depending on how you are creating your threads it is possible to name them

See this msdn page for details of the Thread.Name property

0

精彩评论

暂无评论...
验证码 换一张
取 消