next up previous top
Next: Signature
Up: Property
Previous: SegmentDef

SegmentSet

Description

The SegmentSet property is used to further specify an RTLoad player in UniCon.

An RTLoad player corresponds to the load that a schedulable process places on a given processor. A load is the total amount of execution time that a single schedulable process requires for execution of the code it contains that applies to a particular event (see the Description section for the RTLoad player type for more information on events). An RTLoad player consists of a trigger and a set of segments. The set of segments describes the total amount of execution time required for the portion of the event that the RTLoad player is responsible for, and the trigger describes how often the set of segments is reactivated per unit of time. Together this information specifies the load that an RTLoad player places on a processor.

The SegmentSet property is used to specify the part of the RTLoad player consisting of the set of segments. As described above, an RTLoad player specifies a load associated with a portion of an event - that portion of the event implemented by the schedulable process that contains the given RTLoad player (recall that an event can consist of code from more than one schedulable process). The SegmentSet property of an RTLoad player lists the set of segments defined in the enclosing SchedProcess component that implement the portion of the event of which the RTLoad player is a part. The segments named in the value of the SegmentSet property must each be defined in a SegmentDef property in the
<interface> property list of the component containing the RTLoad player.

More than one SegmentSet property may be specified in a single RTLoad player. The
UniCon compiler will treat these multiple specifications as a single SegmentSet property with the value portion being the union of all values in all of the specifications.

Property Lists

The SegmentSet property can legally be specified in the property list in the following
UniCon language element:

Value Syntax

The syntax of the value part of the SegmentSet property consists of a list of items that are either <identifier>s or "string"s enclosed in parentheses.

Required Rule

Optional

There is no default value for the SegmentSet property.

Merge Rule

MERGE

More than one specification of the SegmentSet property in a single property list is treated as a single specification with the union of all values in all of the specifications.

Semantic Checks

Every <identifier> or "string" in the value part of every SegmentSet property in an RTLoad player must name a segment that is defined by a SegmentDef property in the <interface> property list of the component containing the RTLoad player.

Example

The following is an example of a specification of a SegmentSet property. It is embedded in an RTLoad player definition:

  PLAYER services IS RTLoad
    SEGMENTSET (work_block1, work_block2)
  END services
Also refer to the Example section for the SegmentDef property.


next up previous top
Next: Signature
Up: Property
Previous: SegmentDef

Comments? Mail the current maintainer of this page.

Author: Gregory Zelesnik

Last Modified: May 12, 1996