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.
There is no default value for the SegmentSet property.
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.
PLAYER services IS RTLoad SEGMENTSET (work_block1, work_block2) END servicesAlso refer to the Example section for the SegmentDef property.
Author:
Last Modified: May 12, 1996