09.08.2013 Views

Architecture Modeling - SPES 2020

Architecture Modeling - SPES 2020

Architecture Modeling - SPES 2020

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Architecture</strong> <strong>Modeling</strong><br />

allows to model execution platforms hosting the components of the logical perspective. Here<br />

resource limitations come into play, e. g. the sharing of computing resources by multiple logical<br />

components. The behavior of the allocated logical components will therefore depend on the<br />

properties of the resource as well as the other logical components allocated to the very same<br />

resource.<br />

3.2.4.1 Resources<br />

The concepts of the metamodel for specifying the technical perspective of a system are inspired<br />

by the UML Profile for MARTE (<strong>Modeling</strong> and Analysis of Real-Time Embedded Systems)<br />

[40].<br />

RichComponent<br />

Resource<br />

+ isActive: Boolean<br />

+ isProtected: Boolean<br />

+ resMult: int [0..1] = 1<br />

StorageResource<br />

+elem entSize 1<br />

ConcurrencyResource ProcessingResource<br />

SchedulerSlot<br />

+ isPreemptible: Boolean = true<br />

Dev iceResource ComputingResource CommunicationResource<br />

+ transmMode: T ransm ModeKind<br />

+packetT ime<br />

1<br />

Expression<br />

+elementSize<br />

1<br />

+blockingT ime<br />

1<br />

Scheduler<br />

+ isPreemptible: Boolean = true<br />

+capacity<br />

1<br />

+schedule<br />

1<br />

TextuallyRepresentedElement<br />

Figure 3.10: Meta-model integration of the concepts of Resources<br />

The concept Resource shown in Figure 3.10 constitute an abstraction of the resources a<br />

platform provides and allocated behaviour from logical components. Examples for resource<br />

are:<br />

• computational resources, i. e. the computational power of some processor<br />

• bandwidth of a communication resource<br />

• storage capacity of a storage resource<br />

As some of those resources might be shared by multiple consumers, this sharing of resources<br />

can be explicated by means of schedulers. Such a scheduler distributes fractions of a resource<br />

according to a given scheduling strategy. The concept Scheduler allows for modelling static<br />

as well as dynamic scheduler types.<br />

Schedulers: The concept Scheduler depicted in Figure 3.11 distributes fractions of a resource<br />

according to a given strategy. The clients of a scheduler are modeled by the concept<br />

SchedulerSlot. The Resource, whose capacity is shared and assigned by a scheduler is<br />

22/ 156

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!