IBM Support

How to reduce the complexity of generated code in Rational Rhapsody

Technote (FAQ)


How do you reduce the complexity of code generated for statecharts in IBM Rational Rhapsody?


You would like to reduce the code complexity which is due to the presence of inline functions.


You can use the property CG::Class::ComplexityForInlining to reduce the code complexity.

This property provides control over the degree to which Rhapsody uses inlining in place of function calls in the code generated for statecharts.

Higher the value of the property, more the instances of Rhapsody using inlining. If the value is set to 0, Rhapsody never uses inlining in place of function calls in the code generated. Increasing the value results in increased code size but can result in shorter code execution time.

Note: This property applies only to the Flat implementation scheme for statecharts.

Document information

More support for: Rational Rhapsody
General Information

Software version: 7.6.1,,,, 8.0, 8.0.1, 8.0.2

Operating system(s): Windows

Reference #: 1641771

Modified date: 24 June 2013

Translate this page: