Community
cancel
Showing results for 
Search instead for 
Did you mean: 
zhihang_wang
Beginner
34 Views

Can vtune display the thread name?

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
34 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
34 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