Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5064 Discussions

Can vtune display the thread name?

zhihang_wang
Beginner
349 Views
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 Kudos
2 Replies
Peter_W_Intel
Employee
349 Views
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
0 Kudos
David_A_Intel1
Employee
349 Views
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.
0 Kudos
Reply