I need a tool to get the CPU usage of thread. Forexample, I write an multi-thread program with c++. This process cost 100% CPU, I want to know which thread in this process cost most CPU.
I have used Shark, it can not do it. It can not show the CPU usage of thread, it just give some statics about function. We can know one function cost many CPU, but if this function was called by many threads, how can I know which thread call this function frequently? I want to know the thread, not the function.
I need a tool to get the CPU usage of thread. Forexample, I write an multi-thread program with c++. This process cost 100% CPU, I want to know which thread in this process cost most CPU.