Choice between 'extern inline' and macros

Choice between 'extern inline' and macros

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

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.