You can use the multicore profile with IBM® Rational® Rhapsody® to
model applications designed to perform on multicore operating systems.
The information in this section is based on the C and CPP multicore
sample models included with the product.
The multicore profile contains the stereotypes you need to model
your application, including:
- An allocation diagram.
- A HwCore diagram element to which you link classes
and instances.
- Tags used by the OXF frameworks to identify operating system cores
at runtime and specify time consumption of tasks.
Design considerations
How you design, structure,
and model your application depends on several factors pertaining to
multicore processing capabilities. Before you begin designing, consider
the following factors:
- The types of tasks that active classes and their instances do
in your project.
- Application load balancing.
Workflow for designing multicore applications
The
top-level work flow for designing a multicore application consists
of the following general steps
- Open a project that uses the multicore profile, or create a project
with this profile.
- In the project, assign active classes and instances of active
classes to specific core elements.