Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

p

Compiles and links for function profiling with gprof(1). This feature is only available for ifort.

Syntax

Linux:

-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: -pg,-qp (this is a deprecated option)

Windows: None