Optimize block operation order in the generated code
Description
Reorder block operations in the generated code for improved code execution speed.
Category: Optimization
Settings
Default: Improved Code Execution Speed
Off
Embedded Coder® does not reorder block operation order in the generated code to create additional instances of buffer reuse.
Improved Code Execution Speed
Embedded Coder changes the block operation order in the generated code so that more instances of buffer reuse can occur. Reusing buffers conserves RAM and ROM consumption and improves code execution speed.
Dependency
This parameter requires an Embedded Coder license.
This parameter appears only for ERT-based targets.
Command-Line Information
Parameter:
OptimizeBlockOrder |
Value:
'Speed' | 'off'
|
Default:
'off' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | Improved Code Execution Speed |
Safety precaution | No recommendation |