Intel® Trace Analyzer and Collector

Layout

Generally, every View is split into two sections: Timelines and Profiles. Use the Layout menu to organize the Charts.

Intel® Trace Analyzer

The Layout choices are available when there are two or more charts open.

The following entries are available in the Layout menu:

STF-PROCS-PER-FILE

Syntax

STF-PROCS-PER-FILE <number of processes>

Variable

VT_STF_PROCS_PER_FILE

Default

16

Description

In addition to or instead of combining trace data per node, the number of processes per file can be limited. This helps to restrict the amount of data that has to be loaded when analyzing a sub-set of the processes.

Single-File STF

Intel® Trace Collector can save the trace data in the single-file STF format. This format is selected by specifying the LOGFILE-FORMAT STFSINGLE configuration option, and it causes all the component files of an STF trace to be combined into one file with the extension .single.stf. The logical structure is preserved. The drawback of the single-file STF format is that no I/O parallelism can be exploited when writing the tracefile.

Aggregation

Aggregation reduces the amount of data by aggregating events into thread groups and into function groups.

The following aggregation types are discussed in this topic:

  • Thread aggregation

  • Function aggregation

VT_getthrank

int VT_getthrank (int * thrank)

Description

Gets thread index within a process.

Can be assigned either automatically by Intel® Trace Collector, or manually with VT_registerthread().

Fortran

VTGETTHRANK(thrank, ierr)

Navigating Timelines

In addition to the menu entries and shortcuts, there are two more ways to navigate the time interval in Intel® Trace Analyzer:

  • Use the scroll bar found below the timelines

  • Use the mouse to zoom into a time interval

Similar to the keystrokes, these operations manipulate the zoom stack.

Collecting Lightweight Statistics

Intel® Trace Collector can gather and store statistics about the function calls and their communication. These statistics are gathered even if no trace data is collected, so it is a good starting point for trying to understand an unknown application that might produce an unmanageable trace.

Usage Instructions

To collect this light-weight statistics for your application, set the following environment variables before tracing:

Subscribe to Intel® Trace Analyzer and Collector