Intel® Fortran Compiler 16.0 User and Reference Guide

p

Compiles and links for function profiling with gprof(1).

Architecture Restrictions

Not available on Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner)

Syntax

Linux and OS X:

-p

Windows:

None

Arguments

None

Default

OFF

Files are compiled and linked without profiling.

Description

This option compiles and links for function profiling with gprof(1).

When you specify this option, inlining is disabled. However, you can override this by specifying directive FORCEINLINE, or a compiler option such as [Q]inline-forceinline.

IDE Equivalent

None

Alternate Options

Linux and OS X: -pg, -qp (this is a deprecated option)

Windows: None