Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
4660 Discussions

Can vtune display the thread name?

zhihang_wang
Beginner
99 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
99 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
David_A_Intel1
Employee
99 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.
Reply