Visible to Intel only — GUID: GUID-9E3E9533-6116-445F-B16D-146BE33FE09E
Visible to Intel only — GUID: GUID-9E3E9533-6116-445F-B16D-146BE33FE09E
p
Compiles and links for function profiling with gprof(1).
Syntax
Linux: |
-p |
macOS: |
-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 pragma forceinline, declspec forceinline (Windows*), attribute always_inline (Linux* and macOS), or a compiler option such as [Q]inline-forceinline.
IDE Equivalent
Alternate Options
Linux and macOS: -qp (this is a deprecated option)
Windows: None