Rational Software Corp.

TOC PREV NEXT INDEX



Deployment Diagrams and Specifications


Contents

This chapter is organized as follows:


Deployment Diagram Overview

A deployment diagram shows processors, devices, and connections. Each model contains a single deployment diagram that shows the connections between processors and devices, and the allocation of its processes to processors.

Figure 88 Deployment Diagram Example

Creating and Displaying a Deployment Diagram

You can create or display the deployment diagram in one of three ways:

Deployment Diagram Toolbox

The application window displays the following toolbox when the current window contains a deployment diagram and you have selected View > As Unified:

Figure 89 Deployment Diagram Toolbox

       


Processor Specification

A Processor Specification displays and modifies the properties and relationships of a processor in the current model. Some of the information on the specification can also be displayed inside icons representing the processor in a model's deployment diagram.

To display a Processor Specification, double-click any icon representing a processor, or click Browse > Specifications.

Specification Content

The Processor Specification consists of the following tabs: General and Detail.

Processor Specification--General Tab

Figure 90 Processor Specification--General Tab

Refer to the descriptions in the Introduction to Specifications chapter for information on the specification elements.

Processor Specification--Detail Tab

Figure 91 Processor Specification--Detail Tab

Refer to the descriptions in the Introduction to Specifications chapter for information on the specification elements not covered in the following section.

Characteristics

Use the Characteristics field to specify a physical description of an element. For example, you can describe the kind and bandwidth of a connection; the manufacturer, model, memory, and disks of a machine; or the kind and size of a device. You can set this field only through the specification. This information is not displayed in the deployment diagram.

To update this field, click the Characteristics field and enter the information.

Processes

Use this field to identify the processes assigned to this processor. Processes denote either the root of a main program from a component diagram or the name of an active object from a collaboration diagram.

To create a process, right-click in the processes area and click Insert from the shortcut menu. A new process entry is created. To change the name or priority, click the item and type the changes.

You can display a list of the processes by selecting the processor icon and clicking Show Processes from the shortcut menu.

Scheduling

The Scheduling field specifies the type of process scheduling used by the processor. Use these options to specify the appropriate scheduling.

Table 16 Scheduling Field Options
Type
Description
Preemptive (default)
Higher-priority processes that are ready to execute can preempt lower-priority processes that are currently executing. Processes with equal priority are given a time slice in which to execute, allowing computation resources to be fairly distributed.
Non preemptive
The current process continues to execute until it relinquishes control.
Cyclic
Control passes from one process to another; each process is given a fixed amount of processing time.
Executive
An algorithm controls process scheduling.
Manual
Processes are scheduled by a user outside of the system.

You can set this field only through the specification. To set the scheduling type, click the applicable option button in the Scheduling field.

You can display the scheduling type in the processor icon by clicking Show Scheduling from the shortcut menu.


Device Specification

A Device Specification displays and modifies the properties and relationships of a device in the current model. Some of the information on this specification can also be displayed inside icons representing the device in a deployment diagram.

To display a Device Specification, double-click any icon representing a device, or click Browse > Specifications.

Specification Content

The Device Specification consists of the following tabs: General and Detail.

Device Specification--General Tab

Figure 92 Device Specification--General Tab

Refer to the descriptions in the Introduction to Specifications chapter for information on the specification elements.

Device Specification--Detail Tab

Figure 93 Device Specification--Detail Tab

Refer to the descriptions earlier in this chapter or in the Introduction to Specifications chapter for information on the specification elements.


Connection Specification

A Connection Specification indicates a communication path between two processors, two devices, or a processor and a device. A connection usually represents a direct hardware coupling, such as an RS-232 cable. It can also represent an indirect coupling.

To display a Connection Specification, double-click any icon representing a connection, or click Browse > Specifications.

The Connection Specification consists of two tabs, which contain the same elements as the Device Specification. Refer to Device Specification.


Process Specification

Processes are threads of control that execute on a processor. One process specification documents one thread of control.

You access the Process Specification through the Processes field of a Processor Specification. None of the information contained in the Process Specification is displayed in a diagram; thus, process properties can only be viewed and modified through a Process Specification.

Specification Content

The Process Specification consists of the General tab.

Process Specification--General Tab

Figure 94 Process Specification--General Tab

Refer to the descriptions in the Introduction to Specifications chapter for information on the specification elements not covered in the following section.

Processor

The owner of the process is shown here.

Priority

This field contains the relative priority of this process, if there is one. You can use this information with the scheduling type identified in the Processor Specification to schedule process execution.


Rational Software Corporation  http://www.rational.com
support@rational.com
techpubs@rational.com
Copyright © 1993-2001, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX