Intel® C++ Compiler XE 13.1 User and Reference Guides
Compiles and links for function profiling with gprof(1).
IA-32, Intel® 64 architecture
Linux and OS X: | -p |
Windows: | 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 -inline-forceinline (Linux OS and OS X) or /Qinline-forceinline (Windows OS).