Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7954 Discussions

Choice between 'extern inline' and macros

aniruddhas
Beginner
428 Views
I want to know how the Intel C compiler handles the use of 'extern inline'. I intend to use either 'extern inline' or macros on a Linux P4 Xeon processor system and am using -O2 level of optimization. How do I confirm whether or not the Intel C compiler has actual expanded an inline function? Given that I want to avoid the overhead of making a function call, would you recommend using 'extern inline' or macros? Please let me know if my question is clear or more information is needed.

Thanks,
Aniruddha
0 Kudos
0 Replies
Reply