[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
optimization_level

Description:
Controls global optimization.
Compatibility:
This pragma is compatible with the following platform targets:
Prototype:
#pragma optimization_level 1 | 2 | 3 | 4 | 5
Remarks:
Used with pragma global_optimizer, this pragma specifies the degree of optimization that the global optimizer performs. To control the action of the global optimization, use the global_optimizer pragma.
To choose which optimizations the global optimizer performs, use the pragma optimization_level with an argument from 1 to 5. The higher the argument, the more optimizations that the global optimizer performs. If the global optimizer is turned off, the compiler ignores the pragma optimization_level.
This pragma is ignored if global optimization is turned off.
For more information on the optimization the compiler performs for each optimization level, refer to the Targeting manual for the platform you're developing for.
These pragmas correspond to the options in the Global Optimizations settings panel. To check whether the global optimizer is on, use __option (global_optimizer), described in "Checking Options."
See the pragma global_optimizer, described in "global_optimizer."
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 17, 2000