Designing a model with the use of the multi-core profile
You can use the multi-core profile with IBM® Engineering Systems Design Rhapsody® to model applications designed to run on multi-core operating systems. This information is based on the C and CPP multi-core sample models that are included with the product.
The multi-core profile contains these required stereotypes and
resources:
- An allocation diagram.
- A
HwCore
diagram element to which you link classes and instances. - Tags that are used by the OXF frameworks to identify operating system cores at runtime and specify time consumption of tasks.
Design factors
How you design, structure, and model your application depends on several aspects of multi-core processing. 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 multi-core applications
The high-level work flow for designing a multi-core application consists of the following general steps
- Open a project that uses the multi-core profile, or create a project with this profile.
- In the project, assign active classes and instances of active classes to specific core elements.