1.2. Starting the Intel® Trace Analyzer

Note: For a proper functioning of the Intel Trace Analyzer you must ensure that files do not get modified while they are opened in the Trace Analyzer.

1.2.1. Starting in a UNIX* Environment

In a UNIX* environment, invoke the Intel Trace Analyzer via the command line by typing

$ traceanalyzer

Assuming that the executable is found, this command launches the Intel Trace Analyzer. Optionally, one or more trace files are specified as arguments as shown in the following example:

$ traceanalyzer poisson_icomm.single.stf &

The above example opens the trace file poisson_icomm.single.stf in the Intel Trace Analyzer (See Figure 1-1). To open trace files within the Intel Trace Analyzer without restarting it, use the File Menu entry Main Menu->File->Open. Each time a trace file is opened a new window displaying the trace file's Function Profile Chart is displayed (See Figure 1-2).

1.2.2. Starting in a Windows* Environment

In a Windows* environment, click on a trace file to invoke the Intel Trace Analyzer or use the menu item Start->All Programs->Intel Trace Analyzer.

1.2.3. The Trace Cache

For every trace file opened by the Intel Trace Analyzer, a trace cache is created for more efficient access. It is stored in the same directory as the trace file and has the same filename but with the suffix .cache added.

1.2.4. The Command Line Interface (CLI)

The Intel Trace Analyzer provides a command line interface (CLI) in the Windows* and the UNIX* environment. One application of the CLI is to pre-calculate trace caches for new trace files from batch files without invocation of the graphical user interface. This might be useful for very big tracefiles. You might also want to automate producing profiling data for several tracefiles without further user interaction. For details refer to Chapter 7.