![]() |
![]() |
![]() |
> Module > Schedules > Schedule |
Module
The PartitionWindow element allocates time to a particular partition within a schedule.
To create a schedule, add a PartitionWindow element for each time slice in the schedule. The PartitionWindow element contains a attribute that names the partition to run in the partition window, a attribute that specifies the duration of the partition window, and a ReleasePoint attribute that determines if there should be a release point at the beginning of the partition window.
<Schedules> <Schedule Id="0"> <PartitionWindow PartitionNameRef="SPARE" Duration="0.25" ReleasePoint="true"/> </Schedule> <Schedule Id="1"> <PartitionWindow PartitionNameRef="my-application-A-partition" Duration="0.001" ReleasePoint="true"/> <PartitionWindow PartitionNameRef="my-application-B-partition" Duration="0.00025" ReleasePoint="true"/> <PartitionWindow PartitionNameRef="my-application-C-partition" Duration="0.002" ReleasePoint="true"/> </Schedule> </Schedules>
Required, unbounded
None
None
The duration (in seconds) of the partition window.
Required
ConfigRecord
Unsigned 32 bit integer
N/A
INFINITE_TIME: A value of INFINITE_TIME is not appropriate for a partition window.
The build tools multiply the specified value by 1,000,000,000 to give a value in nanoseconds. The maximum value is therefore 18446744073.709551614 and the minimum increment is 0.000000001.
Required
ConfigRecord
String
N/A
SPARE: Time is allocated to the core OS for running user-supplied core OS code.
The value must be the name of a partition as defined in /Module/Partitions/Partition/@Name, or “SPARE”.
Determines whether the start of a partition window is a release point for periodic processes.
Optional
ConfigRecord
Boolean
The start of a partition window is not a release point.
false: The start of a partition window is not a release point.
true: The start of a partition window is a release point.
None
Generated on 2007-10-15 17:17:22.