Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5248 ディスカッション

Can vtune display the thread name?

zhihang_wang
ビギナー
616件の閲覧回数
I want to use vtune to monitor my app. But how to display the thread name in vtune instead of displaying thread1, thread2 and so on.
0 件の賞賛
2 返答(返信)
Peter_W_Intel
従業員
616件の閲覧回数
There is no similar function (we talked on http://software.intel.com/en-us/forums/showthread.php?t=77927&o=d&s=lr) in VTune Analyzer, sorry!

Regards, Peter
David_A_Intel1
従業員
616件の閲覧回数
Actually, it depends on what type of data you are collecting. If you are collecting Call Graph data, you can use the VTNameThread() API to name your threads. See the VTuneApi.h file in \Analyzer\include.

You need to add the calls to your code and link with the library that will dynamically load the DLL at runtime.
返信