Search
Support & Downloads
All of Support
This Category
This Product
Software Products
Intel® Thread Profiler for Windows*
Tips and Techniques

Page Contents:


I don't have source code. Can I use Intel® Thread Profiler?
Yes. However, Intel Thread Profiler is designed to help you locate and understand threading performance issues in source code. Also note that on Windows*, Intel Thread Profiler for Windows* or Pthreads* API requires an executable file that has a relocation section, and without this no results will be produced for the .EXE file itself. For more information, visit Preparing Your Software.


DOS* Shell Redirection for Input (<) or Output (>)
My application uses DOS* command-shell redirection for input (<) or output (>). Can I still use Intel Thread Profiler? Yes. Use a .BAT file as the application. For example, create a myStart.bat file with this line:
myProgram.exe < myInputFile > myOutputFile
And then follow these steps:
  1. Specify myProgram.exe as the Application to launch with the Intel Thread Profiler Wizard.

  2. Enable (check) Modify default configuration when done with wizard.

  3. Select Advanced Activity Configuration » Application/Module profiles.

  4. Select your application, which would be myProgram in this example, and then press the Configure... button.

  5. Disable (un-check) Add to Modules of Interest List, and then change the Application to Launch Filename: from myProgram.exe to myStart.bat.

I'm using OpenMP* threads. Can I use Intel Thread Profiler for Windows* API?
Yes. You can use Intel Thread Profiler for Windows* API provided you use the Intel® Compilers v8.0, or higher. The Intel Thread Profiler for OpenMP* will show you OpenMP-specific results using OpenMP constructs.

Note: If Intel Compiler versions lower than v8.0 are used, then the Intel Thread Profiler for Windows* API results will not be correct.


How do I view source code in Intel Thread Profiler for Windows* or Pthreads* API results?
  • To view Thread Create, Close or Entry source code, go to the Profile view and group by Thread or Object. Right-click on any Thread or Object, and then select Creation Source View. If the Creation Source View entry on the menu is not available (grayed-out), then the source code is unknown.

  • To view thread transition source code, go to the Profile view and group by Object. Right-click on an object and Filter and Show Source locations Finally right-click on an impact-time bar and select Transition Source View.

  • Another way to view thread transition source, is with the Timeline view. Zoom into a section of the time-line, and right-click on an overhead transition. Select Transition Source View.

This applies to:
Intel® Thread Profiler for Windows*

Solution ID: CS-009684
Date Created: 25-Feb-2004
Last Modified: 24-Sep-2007
Back to Top