inline_max_size. NXP CodeWarrior Development Studio
โฆษณา
โฆษณา
Chapter 29 Pragmas for C++
The complex
value is an approximation of the number of statements in a function, the current default value is 15. Selecting a higher value will inline more functions, but can lead to excessive code bloat.
Remarks
This pragma does not correspond to any panel setting.
29.25 inline_max_size
Sets the maximum number of statements, operands, and operators used to consider the function for inlining.
Syntax
#pragma inline_max_size ( size )
Parameters
size
The maximum number of statements, operands, and operators in the function to consider it for inlining, up to a maximum of 256.
Remarks
This pragma does not correspond to any panel setting.
29.26 inline_max_total_size
Sets the maximum total size a function can grow to when the function it calls is inlined.
Syntax
#pragma inline_max_total_size ( max_size )
Parameters
max_size
The maximum number of statements, operands, and operators the inlined function calls that are also inlined, up to a maximum of 7000.
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
Freescale Semiconductor, Inc.
445
ดาวน์โหลด
โฆษณา