User and Reference Guide for the Intel® C++ Compiler 14.0
Compiles and links for function profiling with gprof(1).
Not available on Intel® 64 architecture targeting Intel® MIC Architecture, or on IA-32 architecture targeting Intel® Graphics Technology
Linux OS and OS X: | -p |
Windows OS: | None |
None
OFF |
Files are compiled and linked without profiling. |
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* OS), attribute always_inline (Linux* OS and OS X*), or a compiler option such as [Q]inline-forceinline.
Linux and OS X: -qp (this is a deprecated option)
Windows: None