Community
cancel
Showing results for 
Search instead for 
Did you mean: 
drMikeT
New Contributor I
63 Views

VTune and Thread Profiler/Analyzer

I read something to the effect that the Thread Profiler / Analyzer are plugins for VTune. Does this mean that I can use these thread profiling tools directly from within VTune ?

Or, is the thread analyzer tools' funcitonality already included within VTune and how do I invoke for MT/OMP code?

thanks .... -Michael
0 Kudos
3 Replies
Peter_W_Intel
Employee
63 Views

VTune Performance Analyzer's package already includes Thread Profiler package. After your installedVTune Analyzer, the installer will remind you to install Thread Profiler.

If you installed Thread Profiler, you can create a new activityforThread Profiler by using New Activity -> Threading Wizard -> Intel? Thread Profiler Wizard, within VTune Analyzer.

Default Collection mode is "Instrumentation", it can be used for WinAPI, POSIX* API, or OpenMP* threading.

Alternatelyanother way is to use command line for Thread Profiler in Command Prompt, and display/interpret result in VTune Analyzer:

1) VTune_Dir\Analyzer\bin\tprofilevars.bat
2) tprofile_cl your_program
3) Use VTune Analyzer's "File\Open File..." to open .tp file which was generated under sub-directory "threadprofiler", step 2.

Regards, Peter
drMikeT
New Contributor I
63 Views

VTune Performance Analyzer's package already includes Thread Profiler package. After your installedVTune Analyzer, the installer will remind you to install Thread Profiler.

If you installed Thread Profiler, you can create a new activityforThread Profiler by using New Activity -> Threading Wizard -> Intel? Thread Profiler Wizard, within VTune Analyzer.

Default Collection mode is "Instrumentation", it can be used for WinAPI, POSIX* API, or OpenMP* threading.

Alternatelyanother way is to use command line for Thread Profiler in Command Prompt, and display/interpret result in VTune Analyzer:

1) VTune_Dir\Analyzer\bin\tprofilevars.bat
2) tprofile_cl your_program
3) Use VTune Analyzer's "File\Open File..." to open .tp file which was generated under sub-directory "threadprofiler", step 2.

Regards, Peter

Hi Peter, thank you much for the reply. Does the VTune for Linux also support this ?

thanks...

Michael

Peter_W_Intel
Employee
63 Views

Hi Michael,

(VTune? Analyzer for Linux* doesn't include Thread Profiler. If you already have Intel? Thread Profiler for Windows*, there is Tprofile3.1_012rdc_lin.tar - which could be downloaded from Intel? Register Download Site)

Use Intel? Thread Profiler in command line, that is very similar to Windows.

1. cd /opt/intel/itt/tprofile/bin/32e
2.source tprofilevars.sh
3. tprofile_cluser-app

Note that the user should open (view) .tp file onIntel? Thread Profiler for Windows, whichis integreated in VTune* Performance Analyzer for Windows*

Regards, Peter
Reply