How to reduce the complexity of generated code in Rational Rhapsody

Technote (FAQ)


Question

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

Cause

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

Answer

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.


Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Rhapsody
General Information

Software version:

7.6.1, 7.6.1.1, 7.6.1.2, 7.6.1.3, 8.0, 8.0.1, 8.0.2

Operating system(s):

Windows

Reference #:

1641771

Modified date:

2013-06-24

Translate my page

Machine Translation

Content navigation