# tcollect, Qtcollect

Inserts instrumentation probes calling the Intel® Trace Collector API. This feature is only available for ifort.

## Syntax

Linux: | -tcollect[lib]

macOS: | None

Windows: | /Qtcollect[:lib]

## Arguments

lib | Is one of the Intel® Trace Collector libraries; for example, VT, VTcs, VTmc, or VTfs. If you do not specify lib, the default library is VT.

## Default

OFF | Instrumentation probes are not inserted into compiled applications.

## Description

This option inserts instrumentation probes calling the Intel® Trace Collector API.

This trace analyzing/collecting feature requires installation of another product. For more information, see Feature Requirements.

This option provides a flexible and convenient way of instrumenting functions of a compiled application. For every function, the entry and exit points are instrumented at compile time to let the Intel® Trace Collector record functions beyond the default MPI calls. For non-MPI applications (for example, threaded or serial), you must ensure that the Intel® Trace Collector is properly initialized (VT_initialize/VT_init).

### CAUTION

Be careful with full instrumentation because this feature can produce very large trace files.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Optimization Report Options

## See Also

tcollect-filter, Qtcollect-filter compiler option